Microsoft DirectX 8.0 (Visual Basic) |
The Direct3DDevice8.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.