Class MTLResourceLayout
The Metal implementation of the resourceLayout object.
Implements
Inherited Members
Namespace: Evergine.Metal
Assembly: Evergine.Metal.dll
Syntax
public class MTLResourceLayout : ResourceLayout, IDisposable
Constructors
MTLResourceLayout(ref ResourceLayoutDescription)
Initializes a new instance of the MTLResourceLayout class.
Declaration
public MTLResourceLayout(ref ResourceLayoutDescription description)
Parameters
Type | Name | Description |
---|---|---|
ResourceLayoutDescription | description | The resourceSet description. |
Fields
BufferCount
The number of buffer in this resourceLayout.
Declaration
public uint BufferCount
Field Value
Type | Description |
---|---|
uint |
SamplerCount
The number of samples in this resourceLayout.
Declaration
public uint SamplerCount
Field Value
Type | Description |
---|---|
uint |
TextureCount
The number of textures in this resourceLayout.
Declaration
public uint TextureCount
Field Value
Type | Description |
---|---|
uint |
Properties
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
Methods
Dispose()
Frees managed and unmanaged resources.
Declaration
public override void Dispose()