Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    EffectParameterClass Enum

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

    Values that identify the class of a shader variable.

    [DataContract]
    public enum EffectParameterClass : byte
    Remarks

    The class of a shader variable is not a programming class; the class identifies the variable class such as scalar, vector, object, and so on.

    Fields

    Name Description
    Color

    The shader variable is a vector.

    ConstantBuffer

    A constant buffer

    InterfaceClass

    The shader variable is a class.

    InterfacePointer

    The shader variable is an interface.

    MatrixColumns

    The shader variable is a column-major matrix.

    MatrixRows

    The shader variable is a row-major matrix.

    Object

    The shader variable is an object.

    Sampler

    A sampler state object.

    Scalar

    The shader variable is a scalar.

    ShaderResourceView

    A shader resource view.

    Struct

    The shader variable is a structure.

    TextureBuffer

    A constant buffer

    UnorderedAccessView

    An unordered access view

    Vector

    The shader variable is a vector.

    Extension Methods

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

    Back to top

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