BaseEffect.GetPass(EffectHandle,Int32) Method (Microsoft.DirectX.Direct3D)
Retrieves the EffectHandle of a pass.
Definition
Visual Basic Public Function GetPass( _
ByVal technique As EffectHandle, _
ByVal index As Integer _
) As EffectHandleC# public EffectHandle GetPass(
EffectHandle technique,
int index
);C++ public:
EffectHandle^ GetPass(
EffectHandle^ technique,
int index
);JScript public function GetPass(
technique : EffectHandle,
index : int
) : EffectHandle;
Parameters
technique Microsoft.DirectX.Direct3D.EffectHandle
The EffectHandle of the parent technique.index System.Int32
Index for the pass.
Return Value
Microsoft.DirectX.Direct3D.EffectHandle
The EffectHandle of the specified pass inside the specified technique, or null if the index is invalid.
Applies To