Table of Contents

Class DescriptorSetLayoutBuilder

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

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

ObjectId

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 ParameterKey
logicalGroup string
class EffectParameterClass
type EffectParameterType
elementType EffectParameterType
arraySize int
immutableSampler SamplerState