Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ID3D10Device::PSSetShader method (d3d10.h)
Sets a pixel shader to the device.
Syntax
void PSSetShader(
[in] ID3D10PixelShader *pPixelShader
);
Parameters
[in] pPixelShader
Type: ID3D10PixelShader*
Pointer to a pixel shader (see ID3D10PixelShader). Passing in NULL disables the shader for this pipeline stage.
Return value
None
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
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | d3d10.h |
| Library | D3D10.lib |
See also
Feedback
Was this page helpful?
