Share via


struttura D3DDDIARG_SETVERTEXSHADERCONST (d3dumddi.h)

La struttura D3DDDIARG_SETVERTEXSHADERCONST descrive come impostare i registri costanti del vertex shader.

Sintassi

typedef struct _D3DDDIARG_SETVERTEXSHADERCONST {
  [in] UINT Register;
  [in] UINT Count;
} D3DDDIARG_SETVERTEXSHADERCONST;

Members

[in] Register

Indice del primo registro costante vertex shader il cui valore è impostato.

[in] Count

Numero di registri costanti da impostare e, pertanto, il numero di valori nella matrice passati nel parametro pRegisters nella chiamata alla funzione SetVertexShaderConstConst del driver di visualizzazione in modalità utente, SetVertexShaderConstI o SetVertexShaderConstB .

Commenti

Il membro Count specifica i valori seguenti, a seconda del tipo di struttura utilizzato nella chiamata alla funzione SetVertexShaderConst, SetVertexShaderConstI o SetVertexShaderConstB :

  • Vettori float a precisione singola a quattro elementi per la struttura D3DDDIARG_SETVERTEXSHADERCONST nella chiamata SetVertexShaderConst .
  • Vettori a quattro interi per la struttura D3DDDIARG_SETVERTEXSHADERCONSTI nella chiamata SetVertexShaderConstI .
  • Valori booleani per la struttura D3DDDIARG_SETVERTEXSHADERCONSTB nella chiamata SetVertexShaderConstB .
Le strutture precedenti sono identiche, come illustrato nelle definizioni seguenti:
typedef D3DDDIARG_SETVERTEXSHADERCONST D3DDDIARG_SETVERTEXSHADERCONSTI;
typedef D3DDDIARG_SETVERTEXSHADERCONST D3DDDIARG_SETVERTEXSHADERCONSTB;

Requisiti

Requisito Valore
Client minimo supportato Disponibile in Windows Vista e versioni successive dei sistemi operativi Windows.
Intestazione d3dumddi.h (include D3dumddi.h)

Vedi anche

SetVertexShaderConst

SetVertexShaderConstB

SetVertexShaderConstI