BaseEffect.GetPass Method |
Language: |
Retrieves the EffectHandle of a pass.
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;
technique Microsoft.DirectX.Direct3D.EffectHandle
The EffectHandle of the parent technique.index System.Int32
Index for the pass.
Microsoft.DirectX.Direct3D.EffectHandle
The EffectHandle of the specified pass inside the specified technique, or null if the index is invalid.
Effect, EffectCompiler
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center