D3DXSHADER_CONSTANTINFO structure

Syntax

typedef struct D3DXSHADER_CONSTANTINFO {
  DWORD Name;
  WORD  RegisterSet;
  WORD  RegisterIndex;
  WORD  RegisterCount;
  WORD  Reserved;
  DWORD TypeInfo;
  DWORD DefaultValue;
} D3DXSHADER_CONSTANTINFO, *LPD3DXSHADER_CONSTANTINFO;

Members

Name

Type: DWORD

Offset from the beginning of this structure, in bytes, to the string that contains the constant information.

RegisterSet

Type: WORD

Register set. See D3DXREGISTER_SET.

RegisterIndex

Type: WORD

The register index.

RegisterCount

Type: WORD

Number of registers.

Reserved

Type: WORD

Reserved.

TypeInfo

Type: DWORD

Offset from the beginning of this structure, in bytes, to the string that contains the D3DXSHADER_TYPEINFO information.

DefaultValue

Type: DWORD

Offset from the beginning of this structure, in bytes, to the string that contains the default value.

Requirements

Requirement Value
Header
D3dx9shader.h

See also

D3DX Structures