ID3D11PixelShader Interface

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

Syntax

interface ID3D11PixelShader : public ID3D11DeviceChild  

Remarks

Use HLSL to implement your shader functionality. All shaders 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.

Requirements

Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).

Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).

See also

ID3D11PixelShader Members