Table of Contents

Class EffectReflection

Namespace
Stride.Shaders
Assembly
Stride.Shaders.dll

The reflection data describing the parameters of a shader.

[DataContract]
public class EffectReflection
Inheritance
EffectReflection

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

List<EffectConstantBufferDescription>

The constant buffers.

InputAttributes

public FastList<ShaderInputAttributeDescription> InputAttributes { get; set; }

Property Value

FastList<ShaderInputAttributeDescription>

ResourceBindings

Gets the parameter binding descriptions.

public FastList<EffectResourceBindingDescription> ResourceBindings { get; set; }

Property Value

FastList<EffectResourceBindingDescription>

The resource bindings.

SamplerStates

Gets or sets the sampler states.

public List<EffectSamplerStateBinding> SamplerStates { get; set; }

Property Value

List<EffectSamplerStateBinding>

The sampler states.

ShaderStreamOutputDeclarations

Gets or sets the stream output declarations.

public List<ShaderStreamOutputDeclarationEntry> ShaderStreamOutputDeclarations { get; set; }

Property Value

List<ShaderStreamOutputDeclarationEntry>

The stream output declarations.

StreamOutputRasterizedStream

Gets or sets the stream output rasterized stream.

public int StreamOutputRasterizedStream { get; set; }

Property Value

int

The stream output rasterized stream.

StreamOutputStrides

Gets or sets the stream output strides.

public int[] StreamOutputStrides { get; set; }

Property Value

int[]

The stream output strides.