EffectResourceBindingDescription Struct
Namespace: Stride.ShadersAssembly: Stride.Shaders.dll
Describes a shader parameter for a resource type.
[DataContract]
public struct EffectResourceBindingDescription
Name | Description | |
---|---|---|
Fields | ||
Class | The EffectParameterClass of this parameter. |
|
ElementType | The element type (for buffers or textures). |
|
KeyInfo | The common description of this parameter. |
|
LogicalGroup | Logical group, used to group related descriptors and variables together. |
|
RawName | Name of this parameter in the original shader |
|
ResourceGroup | Resource group this variable belongs to. This should later be directly grouped in EffectReflection.ResourceGroups. |
|
SlotCount | The number of slots bound to this parameter starting at SlotStart. |
|
SlotStart | The starting slot this parameter is bound. |
|
Stage | The stage this parameter is used |
|
Type | The EffectParameterType of this parameter. |
Fields
Class
The EffectParameterClass of this parameter.
public EffectParameterClass Class
Field Value
Type | Description |
---|---|
EffectParameterClass |
ElementType
The element type (for buffers or textures).
public EffectTypeDescription ElementType
Field Value
Type | Description |
---|---|
EffectTypeDescription |
KeyInfo
The common description of this parameter.
public EffectParameterKeyInfo KeyInfo
Field Value
Type | Description |
---|---|
EffectParameterKeyInfo |
LogicalGroup
Logical group, used to group related descriptors and variables together.
public string LogicalGroup
Field Value
Type | Description |
---|---|
System.String |
RawName
Name of this parameter in the original shader
public string RawName
Field Value
Type | Description |
---|---|
System.String |
ResourceGroup
Resource group this variable belongs to. This should later be directly grouped in EffectReflection.ResourceGroups.
public string ResourceGroup
Field Value
Type | Description |
---|---|
System.String |
SlotCount
The number of slots bound to this parameter starting at SlotStart.
public int SlotCount
Field Value
Type | Description |
---|---|
System.Int32 |
SlotStart
The starting slot this parameter is bound.
public int SlotStart
Field Value
Type | Description |
---|---|
System.Int32 |
Stage
The stage this parameter is used
public ShaderStage Stage
Field Value
Type | Description |
---|---|
ShaderStage |
Type
The EffectParameterType of this parameter.
public EffectParameterType Type
Field Value
Type | Description |
---|---|
EffectParameterType |