Share via


BaseEffect.GetValueVertexShader(EffectHandle) Method (Microsoft.DirectX.Direct3D)

Retrieves a vertex shader.

Definition

Visual Basic Public Function GetValueVertexShader( _
    ByVal parameter As EffectHandle _
) As VertexShader
C# public VertexShader GetValueVertexShader(
    EffectHandle parameter
);
C++ public:
VertexShaderGetValueVertexShader(
    EffectHandleparameter
);
JScript public function GetValueVertexShader(
    parameter : EffectHandle
) : VertexShader;

Parameters

parameter Microsoft.DirectX.Direct3D.EffectHandle
Unique EffectHandle identifier.

Return Value

Microsoft.DirectX.Direct3D.VertexShader
A VertexShader object.

Remarks

Exceptions

InvalidCallException

The call is invalid.

Applies To

Effect, EffectCompiler