SetPixelShaderConst routine
The SetPixelShaderConst function sets one or more pixel shader constant registers with floating-point values.
Syntax
PFND3DDDI_SETPIXELSHADERCONST SetPixelShaderConst; __checkReturn HRESULT APIENTRY SetPixelShaderConst( _In_ HANDLE hDevice, _In_ const D3DDDIARG_SETPIXELSHADERCONST *pData, _In_ const FLOAT *pRegisters ) { ... }
Parameters
- hDevice [in]
-
A handle to the display device (graphics context).
- pData [in]
-
A pointer to a D3DDDIARG_SETPIXELSHADERCONST structure that describes how to set the pixel shader constant registers.
- pRegisters [in]
-
A pointer to a buffer that contains 4-float vectors to copy.
Return value
SetPixelShaderConst returns S_OK or an appropriate error result if the pixel shader constant registers are not successfully set with floating-point values.
Requirements
|
Version | Available in Windows Vista and later versions of the Windows operating systems. |
|---|---|
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 11/29/2012
