EffectStateManager.SetPixelShader Method

Language:

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.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.