Microsoft DirectX 8.0 (C++)

Creating a Pixel Shader

The IDirect3DDevice8::CreatePixelShader method is used to create a pixel shader in Microsoft® DirectX® 8.0. You pass a declaration that defines the blending operations. Microsoft Direct3D® returns a shader handle. The shader validation is done when CreatePixelShader is called.

Note that a given shader may fail creation due to the restraints of the DirectX 8.0 hardware model.