Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    EffectParameterType Enum

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

    Values that identify various data, texture, and buffer types that can be assigned to a shader variable.

    [DataContract]
    public enum EffectParameterType : byte

    Fields

    Name Description
    AppendStructuredBuffer

    The variable is an append structured buffer.

    Bool

    The variable is a boolean.

    Buffer

    The variable is a buffer.

    ByteAddressBuffer

    The variable is a byte-address buffer.

    ConstantBuffer

    The variable is a constant buffer.

    ConsumeStructuredBuffer

    The variable is a consume structured buffer.

    Double

    The variable is a double precision (64-bit) floating-point number.

    Float

    The variable is a floating-point number.

    Int

    The variable is an integer.

    RWBuffer

    The variable is a read-and-write buffer.

    RWByteAddressBuffer

    The variable is a read-and-write byte-address buffer.

    RWStructuredBuffer

    The variable is a read-and-write structured buffer.

    RWTexture1D

    The variable is a 1D read-and-write texture.

    RWTexture1DArray

    The variable is an array of 1D read-and-write textures.

    RWTexture2D

    The variable is a 2D read-and-write texture.

    RWTexture2DArray

    The variable is an array of 2D read-and-write textures.

    RWTexture3D

    The variable is a 3D read-and-write texture.

    Sampler

    The variable is a sampler.

    Sampler1D

    The variable is a sampler.

    Sampler2D

    The variable is a sampler.

    Sampler3D

    The variable is a sampler.

    SamplerCube

    The variable is a sampler.

    String

    The variable is a string.

    StructuredBuffer

    The variable is a structured buffer.

    For more information about structured buffer, see the Remarks section.

    Texture

    The variable is a texture.

    Texture1D

    The variable is a 1D texture.

    Texture1DArray

    The variable is a 1D-texture array.

    Texture2D

    The variable is a 2D texture.

    Texture2DArray

    The variable is a 2D-texture array.

    Texture2DMultisampled

    The variable is a 2D-multisampled texture.

    Texture2DMultisampledArray

    The variable is a 2D-multisampled-texture array.

    Texture3D

    The variable is a 3D texture.

    TextureBuffer

    The variable is a texture buffer.

    TextureCube

    The variable is a texture cube.

    TextureCubeArray

    The variable is a texture-cube array.

    UInt

    The variable is an unsigned integer.

    UInt8

    The variable is an 8-bit unsigned integer.

    Void

    The variable is a void reference.

    Extension Methods

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

    Back to top

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