EffectStateManager.SetPixelShader Method

Language:

Note: This documentation is preliminary and is subject to change.

Sets a pixel shader.

Definition

Visual Basic .NET MustOverride Public Sub SetPixelShader( _
    ByVal pixelShader As PixelShader _
)
C# public abstract void SetPixelShader(
    PixelShader pixelShader
);
Managed C++ public: virtual void SetPixelShader(
    PixelShader *pixelShader
) = 0;
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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