enumeración D3D_REGISTER_COMPONENT_TYPE (d3dcommon.h)

Valores que identifican los tipos de datos que se pueden almacenar en un registro.

Nota:

Para programar con Direct3D 10, esta API tiene un alias de tipo que comienza D3D10_ en lugar de D3D_. Estos alias de tipo direct3D 10 se definen en d3d10.h, d3d10misc.hy 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
} ;

Constantes

 
D3D_REGISTER_COMPONENT_UNKNOWN
Valor: 0
Se desconoce el tipo de datos.
D3D_REGISTER_COMPONENT_UINT32
Valor: 1
Entero de 32 bits sin signo.
D3D_REGISTER_COMPONENT_SINT32
Valor: 2
Entero con signo de 32 bits.
D3D_REGISTER_COMPONENT_FLOAT32
Valor: 3
Número de punto flotante de 32 bits.
D3D10_REGISTER_COMPONENT_UNKNOWN
Se desconoce el tipo de datos.
D3D10_REGISTER_COMPONENT_UINT32
Entero de 32 bits sin signo.
D3D10_REGISTER_COMPONENT_SINT32
Entero con signo de 32 bits.
D3D10_REGISTER_COMPONENT_FLOAT32
Número de punto flotante de 32 bits.

Comentarios

Se especifica un tipo de componente de registro en el miembro ComponentType de la estructura D3D11_SIGNATURE_PARAMETER_DESC .

Requisitos

   
Encabezado d3dcommon.h

Consulte también

Enumeraciones de versión común