D3D_REGISTER_COMPONENT_TYPE enumeration (d3dcommon.h)

Values that identify the data types that can be stored in a register.

Note

For programming with Direct3D 10, this API has a type alias that begins D3D10_ instead of D3D_. These Direct3D 10 type aliases are defined in d3d10.h, d3d10misc.h, and d3d10shader.h.

Syntax

typedef enum D3D_REGISTER_COMPONENT_TYPE {
  D3D_REGISTER_COMPONENT_UNKNOWN = 0,
  D3D_REGISTER_COMPONENT_UINT32 = 1,
  D3D_REGISTER_COMPONENT_SINT32 = 2,
  D3D_REGISTER_COMPONENT_FLOAT32 = 3,
  D3D_REGISTER_COMPONENT_UINT16,
  D3D_REGISTER_COMPONENT_SINT16,
  D3D_REGISTER_COMPONENT_FLOAT16,
  D3D_REGISTER_COMPONENT_UINT64,
  D3D_REGISTER_COMPONENT_SINT64,
  D3D_REGISTER_COMPONENT_FLOAT64,
  D3D10_REGISTER_COMPONENT_UNKNOWN,
  D3D10_REGISTER_COMPONENT_UINT32,
  D3D10_REGISTER_COMPONENT_SINT32,
  D3D10_REGISTER_COMPONENT_FLOAT32,
  D3D10_REGISTER_COMPONENT_UINT16,
  D3D10_REGISTER_COMPONENT_SINT16,
  D3D10_REGISTER_COMPONENT_FLOAT16,
  D3D10_REGISTER_COMPONENT_UINT64,
  D3D10_REGISTER_COMPONENT_SINT64,
  D3D10_REGISTER_COMPONENT_FLOAT64
} ;

Constants

 
D3D_REGISTER_COMPONENT_UNKNOWN
Value: 0
The data type is unknown.
D3D_REGISTER_COMPONENT_UINT32
Value: 1
32-bit unsigned integer.
D3D_REGISTER_COMPONENT_SINT32
Value: 2
32-bit signed integer.
D3D_REGISTER_COMPONENT_FLOAT32
Value: 3
32-bit floating-point number.
D3D10_REGISTER_COMPONENT_UNKNOWN
The data type is unknown.
D3D10_REGISTER_COMPONENT_UINT32
32-bit unsigned integer.
D3D10_REGISTER_COMPONENT_SINT32
32-bit signed integer.
D3D10_REGISTER_COMPONENT_FLOAT32
32-bit floating-point number.

Remarks

A register component type is specified in the ComponentType member of the D3D11_SIGNATURE_PARAMETER_DESC structure.

Requirements

Requirement Value
Header d3dcommon.h

See also

Common Version Enumerations