EffectReflection Class
Namespace: Stride.ShadersAssembly: Stride.Shaders.dll
The reflection data describing the parameters of a shader.
[DataContract]
public class EffectReflection
| Name | Description | |
|---|---|---|
| Constructors | ||
| EffectReflection() | Initializes a new instance of the EffectReflection class. |
|
| Properties | ||
| ConstantBuffers | Gets the constant buffer descriptions (if any). |
|
| InputAttributes | ||
| ResourceBindings | Gets the parameter binding descriptions. |
|
| SamplerStates | Gets or sets the sampler states. |
|
| ShaderStreamOutputDeclarations | Gets or sets the stream output declarations. |
|
| StreamOutputRasterizedStream | Gets or sets the stream output rasterized stream. |
|
| StreamOutputStrides | Gets or sets the stream output strides. |
|
Constructors
EffectReflection()
Initializes a new instance of the EffectReflection class.
public EffectReflection()
Properties
ConstantBuffers
Gets the constant buffer descriptions (if any).
public List<EffectConstantBufferDescription> ConstantBuffers { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<EffectConstantBufferDescription> | The constant buffers. |
InputAttributes
public FastList<ShaderInputAttributeDescription> InputAttributes { get; set; }
Property Value
| Type | Description |
|---|---|
| FastList<ShaderInputAttributeDescription> |
ResourceBindings
Gets the parameter binding descriptions.
public FastList<EffectResourceBindingDescription> ResourceBindings { get; set; }
Property Value
| Type | Description |
|---|---|
| FastList<EffectResourceBindingDescription> | The resource bindings. |
SamplerStates
Gets or sets the sampler states.
public List<EffectSamplerStateBinding> SamplerStates { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<EffectSamplerStateBinding> | The sampler states. |
ShaderStreamOutputDeclarations
Gets or sets the stream output declarations.
public List<ShaderStreamOutputDeclarationEntry> ShaderStreamOutputDeclarations { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<ShaderStreamOutputDeclarationEntry> | The stream output declarations. |
StreamOutputRasterizedStream
Gets or sets the stream output rasterized stream.
public int StreamOutputRasterizedStream { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The stream output rasterized stream. |
StreamOutputStrides
Gets or sets the stream output strides.
public int[] StreamOutputStrides { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32[] | The stream output strides. |