Class DescriptorSetLayout
Defines the Graphics Resources (Descriptors) that need to be bound together, their layout, types, and other associated metadata.
This description is used to allocate a DescriptorSet.
public class DescriptorSetLayout : GraphicsResourceBase, IDisposable, IComponent, IReferencable, ICollectorHolder
- Inheritance
-
objectDescriptorSetLayout
- Implements
- Inherited Members
- Extension Methods
Methods
New(GraphicsDevice, DescriptorSetLayoutBuilder)
Creates a new Descriptor Set Layout.
public static DescriptorSetLayout New(GraphicsDevice device, DescriptorSetLayoutBuilder builder)
Parameters
deviceGraphicsDeviceThe Graphics Device.
builderDescriptorSetLayoutBuilderA DescriptorSetLayoutBuilder that defines the bound Graphics Resources of the Descriptor Set.
Returns
- DescriptorSetLayout
The new DescriptorSetLayout.