EffectValueDescription Struct
Namespace: Stride.ShadersAssembly: Stride.Shaders.dll
Describes a shader parameter for a valuetype (usually stored in constant buffers).
[DataContract]
public struct EffectValueDescription
Name | Description | |
---|---|---|
Fields | ||
DefaultValue | The default value. |
|
KeyInfo | The common description of this parameter. |
|
LogicalGroup | Logical group, used to group related descriptors and variables together. |
|
Offset | Offset in bytes into the constant buffer. |
|
RawName | Name of this parameter in the original shader |
|
Size | Size in bytes in a constant buffer. |
|
Type | The type of this value. |
Fields
DefaultValue
The default value.
public object DefaultValue
Field Value
Type | Description |
---|---|
System.Object |
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 |
Offset
Offset in bytes into the constant buffer.
public int Offset
Field Value
Type | Description |
---|---|
System.Int32 |
RawName
Name of this parameter in the original shader
public string RawName
Field Value
Type | Description |
---|---|
System.String |
Size
Size in bytes in a constant buffer.
public int Size
Field Value
Type | Description |
---|---|
System.Int32 |
Type
The type of this value.
public EffectTypeDescription Type
Field Value
Type | Description |
---|---|
EffectTypeDescription |
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()