ID3DXBaseEffect::GetPass

Gets the handle of a pass.

D3DXHANDLE GetPass(
  D3DXHANDLE hTechnique,
  UINT Index
);

Parameters

hTechnique
[in] Handle of the parent technique. See Handles.
Index
[in] Index for the pass.

Return Values

Returns the handle of the specified pass inside the specified technique, or NULL if the index was invalid. See Handles.

Requirements

Header: Declared in D3dx9effect.h.