Class GLResourceLayout
The OpenGL implementation of a ResourceLayout object.
Inherited Members
Namespace: Evergine.OpenGL
Assembly: Evergine.OpenGL.dll
Syntax
public class GLResourceLayout : ResourceLayout
Constructors
GLResourceLayout(ref ResourceLayoutDescription)
Initializes a new instance of the GLResourceLayout class.
Declaration
public GLResourceLayout(ref ResourceLayoutDescription description)
Parameters
Type | Name | Description |
---|---|---|
ResourceLayoutDescription | description | Resource layout description. |
Fields
Elements
A list of layout elements.
Declaration
public LayoutElementDescription[] Elements
Field Value
Type | Description |
---|---|
LayoutElementDescription[] |
Properties
ConstantBufferCount
Gets the defined ConstantBuffers.
Declaration
public uint ConstantBufferCount { get; }
Property Value
Type | Description |
---|---|
uint |
Name
Gets or sets a string identifying this instance. Can be used in graphics debugger tools.
Declaration
public override string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Overrides
SamplerCount
Gets the defined sampler.
Declaration
public uint SamplerCount { get; }
Property Value
Type | Description |
---|---|
uint |
StorageBufferCount
Gets the defined StorageBuffer.
Declaration
public uint StorageBufferCount { get; }
Property Value
Type | Description |
---|---|
uint |
TextureCount
Gets the defined Textures.
Declaration
public uint TextureCount { get; }
Property Value
Type | Description |
---|---|
uint |
Methods
Dispose()
Releases managed and unmanaged resources.
Declaration
public override void Dispose()