Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    EffectConstantBufferDescription Class

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

    Description of a constant buffer.

    System.Object → EffectConstantBufferDescription
    Derived from EffectConstantBufferDescription:

    [DataContract]
    public class EffectConstantBufferDescription
    Name Description
    Fields
    Hash
    Members

    The members of this constant buffer.

    Name

    The name of this constant buffer.

    Size

    The size in bytes.

    Type

    The type of constant buffer.

    Methods
    Clone()

    Clone the current instance of the constant buffer description.

    | Improve this Doc View Source

    Fields


    Hash

    public ObjectId Hash
    Field Value
    Type Description
    ObjectId

    Members

    The members of this constant buffer.

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

    Name

    The name of this constant buffer.

    public string Name
    Field Value
    Type Description
    System.String

    Size

    The size in bytes.

    public int Size
    Field Value
    Type Description
    System.Int32

    Type

    The type of constant buffer.

    public ConstantBufferType Type
    Field Value
    Type Description
    ConstantBufferType
    | Improve this Doc View Source

    Methods


    Clone()

    Clone the current instance of the constant buffer description.

    public EffectConstantBufferDescription Clone()
    Returns
    Type Description
    EffectConstantBufferDescription

    A clone copy of the description


    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