ID3DXEffect::FindNextValidTechnique method

Searches for the next valid technique, starting at the technique after the specified technique.

Syntax

HRESULT FindNextValidTechnique(
  [in]  D3DXHANDLE hTechnique,
  [out] D3DXHANDLE *pTechnique
);

Parameters

hTechnique [in]

Type: D3DXHANDLE

Unique identifier to a technique. See Handles (Direct3D 9). Specify NULL for this parameter to find the first valid technique.

pTechnique [out]

Type: D3DXHANDLE*

Pointer to an identifier for the next technique. NULL is returned if this is the last technique. See Handles (Direct3D 9).

Return value

Type: HRESULT

If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be D3DERR_INVALIDCALL.

Requirements

Requirement Value
Header
D3DX9Effect.h
Library
D3dx9.lib

See also

ID3DXEffect

D3DXTECHNIQUE_DESC

ID3DXEffect::ValidateTechnique