ID3D10PixelShader interface (d3d10.h)
A pixel-shader interface manages an executable program (a pixel shader) that controls the pixel-shader stage.
Inheritance
The ID3D10PixelShader interface inherits from the ID3D10DeviceChild interface.
Remarks
The pixel-shader interface has no methods; use HLSL to implement your shader functionality. All shaders in Direct3D 10 are implemented from a common set of features referred to as the common shader core.
To create a pixel shader interface, call ID3D10Device::CreatePixelShader. Before using a pixel shader you must bind it to the device by calling ID3D10Device::PSSetShader.
This interface is defined in D3D10.h.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d10.h |