ID3DXBaseEffect::GetPass method

Gets the handle of a pass.

Syntax

D3DXHANDLE GetPass(
  [in] D3DXHANDLE hTechnique,
  [in] UINT       Index
);

Parameters

hTechnique [in]

Type: D3DXHANDLE

Handle of the parent technique. See Handles (Direct3D 9).

Index [in]

Type: UINT

Index for the pass.

Return value

Type: D3DXHANDLE

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

Requirements

Requirement Value
Header
D3DX9Effect.h
Library
D3dx9.lib

See also

ID3DXBaseEffect