DescriptorSetLayoutBuilder Class
Namespace: Stride.GraphicsAssembly: Stride.Graphics.dll
Helper class to build a DescriptorSetLayout.
System.Object →
DescriptorSetLayoutBuilder
Derived from DescriptorSetLayoutBuilder:
public class DescriptorSetLayoutBuilder
Name | Description | |
---|---|---|
Properties | ||
Hash | Returns hash describing current state of DescriptorSet (to know if they can be shared) |
|
Methods | ||
AddBinding(ParameterKey, String, EffectParameterClass, EffectParameterType, EffectParameterType, Int32, SamplerState) | Gets (or creates) an entry to the DescriptorSetLayout and gets its index. |
Properties
Hash
Returns hash describing current state of DescriptorSet (to know if they can be shared)
public ObjectId Hash { get; }
Property Value
Type | Description |
---|---|
ObjectId |
Methods
AddBinding(ParameterKey, String, EffectParameterClass, EffectParameterType, EffectParameterType, Int32, SamplerState)
Gets (or creates) an entry to the DescriptorSetLayout and gets its index.
public void AddBinding(ParameterKey key, string logicalGroup, EffectParameterClass class, EffectParameterType type, EffectParameterType elementType, int arraySize = 1, SamplerState immutableSampler = null)
Parameters
Type | Name | Description |
---|---|---|
ParameterKey | key | |
System.String | logicalGroup | |
EffectParameterClass | class | |
EffectParameterType | type | |
EffectParameterType | elementType | |
System.Int32 | arraySize | |
SamplerState | immutableSampler |