énumération D3D_REGISTER_COMPONENT_TYPE (d3dcommon.h)

Valeurs qui identifient les types de données qui peuvent être stockés dans un registre.

Notes

Pour la programmation avec Direct3D 10, cette API a un alias de type qui commence D3D10_ à la place de D3D_. Ces alias de type Direct3D 10 sont définis dans d3d10.h, d3d10misc.het d3d10shader.h.

Syntaxe

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
Valeur : 0
Le type de données est inconnu.
D3D_REGISTER_COMPONENT_UINT32
Valeur : 1
Entier non signé 32 bits.
D3D_REGISTER_COMPONENT_SINT32
Valeur : 2
Entier signé 32 bits.
D3D_REGISTER_COMPONENT_FLOAT32
Valeur : 3
Nombre à virgule flottante 32 bits.
D3D10_REGISTER_COMPONENT_UNKNOWN
Le type de données est inconnu.
D3D10_REGISTER_COMPONENT_UINT32
Entier non signé 32 bits.
D3D10_REGISTER_COMPONENT_SINT32
Entier signé 32 bits.
D3D10_REGISTER_COMPONENT_FLOAT32
Nombre à virgule flottante 32 bits.

Notes

Un type de composant register est spécifié dans le membre ComponentType de la structure D3D11_SIGNATURE_PARAMETER_DESC .

Spécifications

   
En-tête d3dcommon.h

Voir aussi

Énumérations de versions courantes