Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

Header

D3dx9shader.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft