Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    EffectReflection Class

    Namespace: Stride.Shaders
    Assembly: Stride.Shaders.dll

    The reflection data describing the parameters of a shader.

    System.Object → EffectReflection
    Derived from EffectReflection:

    [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.

    | Improve this Doc View Source

    Constructors


    EffectReflection()

    Initializes a new instance of the EffectReflection class.

    public EffectReflection()
    | Improve this Doc View Source

    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.


    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation