ID3D10PixelShader interface
A pixel-shader interface manages an executable program (a pixel shader) that controls the pixel-shader stage.
Members
The ID3D10PixelShader interface inherits from ID3D10DeviceChild but does not have additional members.
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
|
Header |
|
|---|---|
|
Library |
|
See also