Table of Contents

Struct EffectResourceBindingDescription

Namespace
Stride.Shaders
Assembly
Stride.Shaders.dll

Describes a shader parameter for a resource type.

[DataContract]
public struct EffectResourceBindingDescription
Inherited Members

Fields

Class

The EffectParameterClass of this parameter.

public EffectParameterClass Class

Field Value

EffectParameterClass

ElementType

The element type (for buffers or textures).

public EffectTypeDescription ElementType

Field Value

EffectTypeDescription

KeyInfo

The common description of this parameter.

public EffectParameterKeyInfo KeyInfo

Field Value

EffectParameterKeyInfo

LogicalGroup

Logical group, used to group related descriptors and variables together.

public string LogicalGroup

Field Value

string

RawName

Name of this parameter in the original shader

public string RawName

Field Value

string

ResourceGroup

Resource group this variable belongs to. This should later be directly grouped in EffectReflection.ResourceGroups.

public string ResourceGroup

Field Value

string

SlotCount

The number of slots bound to this parameter starting at SlotStart.

public int SlotCount

Field Value

int

SlotStart

The starting slot this parameter is bound.

public int SlotStart

Field Value

int

Stage

The stage this parameter is used

public ShaderStage Stage

Field Value

ShaderStage

Type

The EffectParameterType of this parameter.

public EffectParameterType Type

Field Value

EffectParameterType