struttura D3DDDIARG_SETPIXELSHADERCONST (d3dumddi.h)
La struttura D3DDDIARG_SETPIXELSHADERCONST descrive come impostare i registri costanti del pixel shader.
Sintassi
typedef struct _D3DDDIARG_SETPIXELSHADERCONST {
[in] UINT Register;
[in] UINT Count;
} D3DDDIARG_SETPIXELSHADERCONST;
Membri
[in] Register
Indice del primo registro costante pixel shader il cui valore è impostato.
[in] Count
Numero di registri costanti da impostare e, di conseguenza, il numero di valori nella matrice passata nel parametro pRegisters nella chiamata alla funzione SetPixelShaderConstConst del driver di visualizzazione in modalità utente, SetPixelShaderConstIo funzione setPixelShaderConstB.
Osservazioni
Il membro Count specifica i valori seguenti, a seconda del tipo di struttura utilizzato nella chiamata alla funzione SetPixelShaderConstConst, SetPixelShaderConstIo funzione SetPixelShaderConstB:
- Vettori float a precisione singola a quattro elementi per la struttura D3DDDIARG_SETPIXELSHADERCONST nella chiamata SetPixelShaderConst.
- Vettori a quattro interi per la struttura D3DDDIARG_SETPIXELSHADERCONSTI nella chiamata SetPixelShaderConstI.
- Valori booleani per la struttura D3DDDIARG_SETPIXELSHADERCONSTB nella chiamata setPixelShaderConstB.
typedef D3DDDIARG_SETPIXELSHADERCONST D3DDDIARG_SETPIXELSHADERCONSTI;
typedef D3DDDIARG_SETPIXELSHADERCONST D3DDDIARG_SETPIXELSHADERCONSTB;
Fabbisogno
Requisito | Valore |
---|---|
client minimo supportato | Disponibile in Windows Vista e versioni successive dei sistemi operativi Windows. |
intestazione | d3dumddi.h (include D3dumddi.h) |