Share via


EffectStateManager.SetVertexShader(VertexShader) Method (Microsoft.DirectX.Direct3D)

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.