Partager via


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

Retrieves a pass description.

Definition

Visual Basic Public Function GetPassDescription( _
    ByVal pass As EffectHandle _
) As PassDescription
C# public PassDescription GetPassDescription(
    EffectHandle pass
);
C++ public:
PassDescription GetPassDescription(
    EffectHandlepass
);
JScript public function GetPassDescription(
    pass : EffectHandle
) : PassDescription;

Parameters

pass Microsoft.DirectX.Direct3D.EffectHandle
Pass EffectHandle.

Return Value

Microsoft.DirectX.Direct3D.PassDescription
A PassDescription of the specified pass.

Remarks

Exceptions

InvalidCallException

The call is invalid.

Applies To

Effect, EffectCompiler