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