Export (0) Print
Expand All
Expand Minimize

ID3D10Device::PSSetShader method

Sets a pixel shader to the device.

Syntax


void PSSetShader(
  [in]  ID3D10PixelShader *pPixelShader
);

Parameters

pPixelShader [in]

Type: ID3D10PixelShader*

Pointer to a pixel shader (see ID3D10PixelShader). Passing in NULL disables the shader for this pipeline stage.

Return value

Returns nothing.

Remarks

The method will not hold a reference to the interfaces passed in. For that reason, applications should be careful not to release an interface currently in use by the device.

Requirements

Header

D3D10.h

Library

D3D10.lib

See also

ID3D10Device Interface

 

 

Community Additions

ADD
Show:
© 2014 Microsoft