| ?/TD> |
| Microsoft DirectX 9.0 |
A description of a constant in a constant table.
Syntax
typedef struct _D3DXCONSTANT_DESC {
LPCSTR Name;
D3DXREGISTER_SET RegisterSet;
UINT RegisterIndex;
UINT RegisterCount;
D3DXPARAMETER_CLASS Class;
D3DXPARAMETER_TYPE Type;
UINT Rows;
UINT Columns;
UINT Elements;
UINT StructMembers;
UINT Bytes;
LPCVOID DefaultValue;
} D3DXCONSTANT_DESC;Members
- Name
- Name of the constant.
- RegisterSet
- Constant data type. See D3DXREGISTER_SET.
- RegisterIndex
- Zero-based index of the constant in the table.
- RegisterCount
- Number of registers that contain data.
- Class
- Parameter class. See D3DXPARAMETER_CLASS.
- Type
- Parameter type. See D3DXPARAMETER_TYPE.
- Rows
- Number of rows.
- Columns
- Number of columns.
- Elements
- Number of elements in the array.
- StructMembers
- Number of structure member sub-parameters.
- Bytes
- Data size in number of bytes.
- DefaultValue
- Pointer to the default value.
Structure Information
Header d3dx9shader.h Minimum operating systems Windows 98
See Also
D3DXCONSTANTTABLE_DESC