EffectStateManager.SetVertexShader Method

Language:

Sets a vertex shader.

Definition

Visual Basic MustOverride Public Sub SetVertexShader( _
    ByVal vertexShader As VertexShader _
)
C# public abstract void SetVertexShader(
    VertexShader vertexShader
);
C++ public:
virtual void SetVertexShader(
    VertexShadervertexShader
) abstract;
JScript public abstract function SetVertexShader(
    vertexShader : VertexShader
);

Parameters

vertexShader Microsoft.DirectX.Direct3D.VertexShader
The VertexShader object to set.

Remarks

SetVertexShader 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.