Microsoft DirectX 9.0 SDK Update (October 2004)

BaseEffect.GetPass Method

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves the EffectHandle of a pass.

Definition

Visual Basic .NET Public Function GetPass( _
    ByVal technique As EffectHandle, _
    ByVal index As Integer _
) As EffectHandle
C# public EffectHandle GetPass(
    EffectHandle technique,
    int index
);
Managed C++ public: EffectHandle* GetPass(
    EffectHandle *technique,
    int index
);
JScript .NET 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

Effect, EffectCompiler

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center