EffectParameterType Enum
Namespace: Stride.ShadersAssembly: 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. |