d3d9.dllGetPassByName
Microsoft DirectX 9.0 SDK Update (October 2004)

ID3DXEffectCompiler::GetPassByName Method


Gets the handle of a pass by looking up its name.

Syntax

D3DXHANDLE GetPassByName(      

    D3DXHANDLE hTechnique,     LPCSTR pName );

Parameters

hTechnique
[in] Handle of the parent technique. See Handles.
pName
[in] String containing the pass name.

Return Value

Returns the handle of the first pass inside the specified technique that has the specified name, or NULL if the name was not found. See Handles.



© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.