PFND3DDDI_SETPIXELSHADERCONSTB callback function (d3dumddi.h)

The SetPixelShaderConstB function sets one or more pixel shader constant registers with Boolean values.

Syntax

PFND3DDDI_SETPIXELSHADERCONSTB Pfnd3dddiSetpixelshaderconstb;

HRESULT Pfnd3dddiSetpixelshaderconstb(
  [in] HANDLE hDevice,
       const D3DDDIARG_SETPIXELSHADERCONSTB *unnamedParam2,
       const BOOL *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 BOOL values to copy.

Return value

SetPixelShaderConstB returns S_OK or an appropriate error result if the pixel shader constant registers are not successfully set with Boolean 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)

See also

D3DDDIARG_SETPIXELSHADERCONST

D3DDDI_DEVICEFUNCS