enumerazione D3D_REGISTER_COMPONENT_TYPE (d3dcommon.h)
Valori che identificano i tipi di dati che possono essere archiviati in un registro.
Nota
Per la programmazione con Direct3D 10, questa API ha un alias di tipo che inizia D3D10_
anziché D3D_
. Questi alias di tipo Direct3D 10 sono definiti in d3d10.h
, d3d10misc.h
e d3d10shader.h
.
Sintassi
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
} ;
Costanti
D3D_REGISTER_COMPONENT_UNKNOWN Valore: 0 Il tipo di dati è sconosciuto. |
D3D_REGISTER_COMPONENT_UINT32 Valore: 1 Intero senza segno a 32 bit. |
D3D_REGISTER_COMPONENT_SINT32 Valore: 2 Intero con segno a 32 bit. |
D3D_REGISTER_COMPONENT_FLOAT32 Valore: 3 Numero a virgola mobile a 32 bit. |
D3D10_REGISTER_COMPONENT_UNKNOWN Il tipo di dati è sconosciuto. |
D3D10_REGISTER_COMPONENT_UINT32 Intero senza segno a 32 bit. |
D3D10_REGISTER_COMPONENT_SINT32 Intero con segno a 32 bit. |
D3D10_REGISTER_COMPONENT_FLOAT32 Numero a virgola mobile a 32 bit. |
Commenti
Un tipo di componente di registro viene specificato nel membro ComponentType della struttura D3D11_SIGNATURE_PARAMETER_DESC .
Requisiti
Intestazione | d3dcommon.h |
Vedi anche
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per