D3DXSHADER_TYPEINFO
A helper structure containing member type information.
typedef struct D3DXSHADER_TYPEINFO {
WORD Class;
WORD Type;
WORD Rows;
WORD Columns;
WORD Elements;
WORD StructMembers;
DWORD StructMemberInfo;
} D3DXSHADER_TYPEINFO, *LPD3DXSHADER_TYPEINFO;
Members
- Class
- Shader object type. See D3DXPARAMETER_CLASS.
- Type
- Data type. See D3DXPARAMETER_TYPE.
- Rows
- Number of matrix rows (matrices).
- Columns
- Number of columns (vectors and matrices).
- Elements
- Array dimension.
- StructMembers
- Number of structure members.
- StructMemberInfo
- Array of structure member information, D3DXSHADER_STRUCTMEMBERINFO[StructMembers]. See D3DXSHADER_STRUCTMEMBERINFO.
Remarks
The type information is part of D3DXSHADER_STRUCTMEMBERINFO.
See Also
D3DXSHADER_CONSTANTINFO