Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    EffectValueDescription Struct

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

    | Improve this Doc View Source

    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()

    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