D3DXSHADER_TYPEINFO structure

A helper structure containing member type information.

Syntax

typedef struct D3DXSHADER_TYPEINFO {
  WORD  Class;
  WORD  Type;
  WORD  Rows;
  WORD  Columns;
  WORD  Elements;
  WORD  StructMembers;
  DWORD StructMemberInfo;
} D3DXSHADER_TYPEINFO, *LPD3DXSHADER_TYPEINFO;

Members

Class

Type: WORD

Shader object type. See D3DXPARAMETER_CLASS.

Type

Type: WORD

Data type. See D3DXPARAMETER_TYPE.

Rows

Type: WORD

Number of matrix rows (matrices).

Columns

Type: WORD

Number of columns (vectors and matrices).

Elements

Type: WORD

Array dimension.

StructMembers

Type: WORD

Number of structure members.

StructMemberInfo

Type: DWORD

Array of structure member information, D3DXSHADER_STRUCTMEMBERINFO[StructMembers]. See D3DXSHADER_STRUCTMEMBERINFO.

Remarks

The type information is part of D3DXSHADER_STRUCTMEMBERINFO.

Requirements

Requirement Value
Header
D3dx9shader.h

See also

D3DX Structures

D3DXSHADER_CONSTANTINFO