Blt
Expand Minimize

SetPixelShaderConstB routine

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

Syntax


PFND3DDDI_SETPIXELSHADERCONSTB SetPixelShaderConstB;

__checkReturn HRESULT APIENTRY SetPixelShaderConstB(
  _In_  HANDLE hDevice,
  _In_  const D3DDDIARG_SETPIXELSHADERCONSTB *pData,
  _In_  const BOOL *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 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

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDIARG_SETPIXELSHADERCONST
D3DDDI_DEVICEFUNCS

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.