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 |
|
|---|---|
|
Library |
|
See also
Show: