ID3D11PixelShader interface (d3d11.h)

A pixel-shader interface manages an executable program (a pixel shader) that controls the pixel-shader stage.


The ID3D11PixelShader interface inherits from the ID3D11DeviceChild interface.


The pixel-shader interface has no methods; use HLSL to implement your shader functionality. All shaders in are implemented from a common set of features referred to as the common-shader core..

To create a pixel shader interface, call ID3D11Device::CreatePixelShader. Before using a pixel shader you must bind it to the device by calling ID3D11DeviceContext::PSSetShader.

This interface is defined in D3D11.h.


Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11.h

See also


Shader Interfaces