D3DXPARAMETER_CLASS enumeration

The type of object.

Syntax

typedef enum D3DXPARAMETER_CLASS { 
  D3DXPC_SCALAR,
  D3DXPC_VECTOR,
  D3DXPC_MATRIX_ROWS,
  D3DXPC_MATRIX_COLUMNS,
  D3DXPC_OBJECT,
  D3DXPC_STRUCT,
  D3DXPC_FORCE_DWORD     = 0x7fffffff
} D3DXPARAMETER_CLASS, *LPD3DXPARAMETER_CLASS;

Constants

D3DXPC_SCALAR

Constant is a scalar.

D3DXPC_VECTOR

Constant is a vector.

D3DXPC_MATRIX_ROWS

Constant is a row major matrix.

D3DXPC_MATRIX_COLUMNS

Constant is a column major matrix.

D3DXPC_OBJECT

Constant is either a texture, shader, or a string.

D3DXPC_STRUCT

Constant is a structure.

D3DXPC_FORCE_DWORD

Forces this enumeration to compile to 32 bits in size. Without this value, some compilers would allow this enumeration to compile to a size other than 32 bits. This value is not used.

Requirements

Requirement Value
Header
D3dx9shader.h

See also

D3DX Enumerations

D3DXSHADER_TYPEINFO

D3DXCONSTANT_DESC