D3DXREGISTER_SET enumeration

Data type of the register.

Syntax


typedef enum _D3DXREGISTER_SET { 
  D3DXRS_BOOL,
  D3DXRS_INT4,
  D3DXRS_FLOAT4,
  D3DXRS_SAMPLER,
  D3DXRS_FORCE_DWORD  = 0x7fffffff
} D3DXREGISTER_SET, *LPD3DXREGISTER_SET;

Constants

D3DXRS_BOOL

Boolean value.

D3DXRS_INT4

4D integer number.

D3DXRS_FLOAT4

4D floating-point number.

D3DXRS_SAMPLER

The register contains 4D sampler data.

D3DXRS_FORCE_DWORD

Forces this enumeration to compile to 32 bits in size. Without this value, some compilers would allow this enumeration to compile to a size other than 32 bits. This value is not used.

Requirements

Header

D3dx9shader.h

See also

D3DXSHADER_CONSTANTINFO
D3DXCONSTANT_DESC

 

 

Community Additions

ADD
Show:
© 2014 Microsoft