Share via


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

Retrieves a pixel shader.

Definition

Visual Basic Public Function GetValuePixelShader( _
    ByVal parameter As EffectHandle _
) As PixelShader
C# public PixelShader GetValuePixelShader(
    EffectHandle parameter
);
C++ public:
PixelShaderGetValuePixelShader(
    EffectHandleparameter
);
JScript public function GetValuePixelShader(
    parameter : EffectHandle
) : PixelShader;

Parameters

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

Return Value

Microsoft.DirectX.Direct3D.PixelShader
A PixelShader object.

Remarks

Exceptions

InvalidCallException

The call is invalid.

Applies To

Effect, EffectCompiler