Enum EffectParameterType
Values that identify various data, texture, and buffer types that can be assigned to a shader variable.
[DataContract]
public enum EffectParameterType : byte
Fields
AppendStructuredBuffer = 50
-
The variable is an append structured buffer.
Bool = 1
-
The variable is a boolean.
Buffer = 25
-
The variable is a buffer.
ByteAddressBuffer = 46
-
The variable is a byte-address buffer.
ConstantBuffer = 26
-
The variable is a constant buffer.
ConsumeStructuredBuffer = 51
-
The variable is a consume structured buffer.
Double = 39
-
The variable is a double precision (64-bit) floating-point number.
Float = 3
-
The variable is a floating-point number.
Int = 2
-
The variable is an integer.
RWBuffer = 45
-
The variable is a read-and-write buffer.
RWByteAddressBuffer = 47
-
The variable is a read-and-write byte-address buffer.
RWStructuredBuffer = 49
-
The variable is a read-and-write structured buffer.
RWTexture1D = 40
-
The variable is a 1D read-and-write texture.
RWTexture1DArray = 41
-
The variable is an array of 1D read-and-write textures.
RWTexture2D = 42
-
The variable is a 2D read-and-write texture.
RWTexture2DArray = 43
-
The variable is an array of 2D read-and-write textures.
RWTexture3D = 44
-
The variable is a 3D read-and-write texture.
Sampler = 10
-
The variable is a sampler.
Sampler1D = 11
-
The variable is a sampler.
Sampler2D = 12
-
The variable is a sampler.
Sampler3D = 13
-
The variable is a sampler.
SamplerCube = 14
-
The variable is a sampler.
String = 4
-
The variable is a string.
StructuredBuffer = 48
-
The variable is a structured buffer.
For more information about structured buffer, see the Remarks section.
Texture = 5
-
The variable is a texture.
Texture1D = 6
-
The variable is a 1D texture.
Texture1DArray = 28
-
The variable is a 1D-texture array.
Texture2D = 7
-
The variable is a 2D texture.
Texture2DArray = 29
-
The variable is a 2D-texture array.
Texture2DMultisampled = 32
-
The variable is a 2D-multisampled texture.
Texture2DMultisampledArray = 33
-
The variable is a 2D-multisampled-texture array.
Texture3D = 8
-
The variable is a 3D texture.
TextureBuffer = 27
-
The variable is a texture buffer.
TextureCube = 9
-
The variable is a texture cube.
TextureCubeArray = 34
-
The variable is a texture-cube array.
UInt = 19
-
The variable is an unsigned integer.
UInt8 = 20
-
The variable is an 8-bit unsigned integer.
Void = 0
-
The variable is a void reference.