Class DescriptorSetLayoutBuilder
Helper class to build a DescriptorSetLayout.
public class DescriptorSetLayoutBuilder
- Inheritance
-
DescriptorSetLayoutBuilder
Properties
Hash
Returns hash describing current state of DescriptorSet (to know if they can be shared)
public ObjectId Hash { get; }
Property Value
Methods
AddBinding(ParameterKey, string, EffectParameterClass, EffectParameterType, EffectParameterType, int, 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
key
ParameterKeylogicalGroup
stringclass
EffectParameterClasstype
EffectParameterTypeelementType
EffectParameterTypearraySize
intimmutableSampler
SamplerState