Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    EffectResourceBindingDescription Struct

    Namespace: Stride.Shaders
    Assembly: 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.

    | Improve this Doc View Source

    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

    Inherited Members

    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()

    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