PFND3DDDI_SETPIXELSHADERCONST callback function (d3dumddi.h)
The SetPixelShaderConst function sets one or more pixel shader constant registers with floating-point values.
Syntax
PFND3DDDI_SETPIXELSHADERCONST Pfnd3dddiSetpixelshaderconst;
HRESULT Pfnd3dddiSetpixelshaderconst(
[in] HANDLE hDevice,
const D3DDDIARG_SETPIXELSHADERCONST *unnamedParam2,
const FLOAT *unnamedParam3
)
{...}
Parameters
[in] hDevice
A handle to the display device (graphics context).
unnamedParam2
pData [in]
A pointer to a D3DDDIARG_SETPIXELSHADERCONST structure that describes how to set the pixel shader constant registers.
unnamedParam3
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
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Target Platform | Desktop |
Header | d3dumddi.h (include D3dumddi.h) |