Share via


EffectStateManager.SetPixelShader(PixelShader) Method (Microsoft.DirectX.Direct3D)

Sets a pixel shader.

Definition

Visual Basic MustOverride Public Sub SetPixelShader( _
    ByVal pixelShader As PixelShader _
)
C# public abstract void SetPixelShader(
    PixelShader pixelShader
);
C++ public:
virtual void SetPixelShader(
    PixelShaderpixelShader
) abstract;
JScript public abstract function SetPixelShader(
    pixelShader : PixelShader
);

Parameters

pixelShader Microsoft.DirectX.Direct3D.PixelShader
The PixelShader object to set.

Remarks

SetPixelShader is a user-implemented method that is called from an effect during rendering.