D3DXPARAMETERTYPE
Describes the variable type to use for the parameter.
typedef enum _D3DXPARAMETERTYPE
{
D3DXPT_DWORD = 0,
D3DXPT_FLOAT = 1,
D3DXPT_VECTOR = 2,
D3DXPT_MATRIX = 3,
D3DXPT_TEXTURE = 4,
D3DXPT_VERTEXSHADER = 5,
D3DXPT_PIXELSHADER = 6,
D3DXPT_CONSTANT = 7,
D3DXPT_STRING = 8,
D3DXPT_FORCE_DWORD = 0x7fffffff
} D3DXPARAMETERTYPE;
Constants
- D3DXPT_DWORD
- Parameter is a DWORD value.
- D3DXPT_FLOAT
- Parameter is a floating-point value.
- D3DXPT_VECTOR
- Parameter is a vector.
- D3DXPT_MATRIX
- Parameter is a 4×4 matrix.
- D3DXPT_TEXTURE
- Parameter is a texture.
- D3DXPT_VERTEXSHADER
- Parameter is a vertex shader
- D3DXPT_PIXELSHADER
- Parameter is a pixel shader.
- D3DXPT_CONSTANT
- Parameter is a constant value.
- D3DXPT_STRING
- Parameter is a string value.
- D3DXPT_FORCE_DWORD
- Forces this enumeration to compile to 32 bits in size. This value is not used.
Requirements
Header: Declared in D3dx8effect.h.