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