Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    EffectTypeDescription Struct

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

    Describes a shader parameter type.

    [DataContract]
    public struct EffectTypeDescription
    Name Description
    Fields
    Class

    The EffectParameterClass of this parameter.

    ColumnCount

    Number of columns for this element.

    Elements

    Number of elements for arrays (0 if not an array).

    ElementSize

    Size of this element (non-aligned).

    Members

    Members in the structure.

    Name

    Name of this structure type.

    RowCount

    Number of rows for this element.

    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

    ColumnCount

    Number of columns for this element.

    public int ColumnCount
    Field Value
    Type Description
    System.Int32

    Elements

    Number of elements for arrays (0 if not an array).

    public int Elements
    Field Value
    Type Description
    System.Int32

    ElementSize

    Size of this element (non-aligned).

    public int ElementSize
    Field Value
    Type Description
    System.Int32

    Members

    Members in the structure.

    public EffectTypeMemberDescription[] Members
    Field Value
    Type Description
    EffectTypeMemberDescription[]

    Name

    Name of this structure type.

    public string Name
    Field Value
    Type Description
    System.String

    RowCount

    Number of rows for this element.

    public int RowCount
    Field Value
    Type Description
    System.Int32

    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