ID3DXEffect::FindNextValidTechnique

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

HRESULT FindNextValidTechnique(
  D3DXHANDLE hTechnique,
  D3DXHANDLE* pTechnique
);

Parameters

hTechnique
[in] Unique identifier to a technique. See Handles. Specify NULL for this parameter to find the first valid technique.
pTechnique
[out] Pointer to an identifier for the next technique. NULL is returned if this is the last technique. See Handles.

Return Values

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

Requirements

Header: Declared in D3dx9effect.h.

See Also

D3DXTECHNIQUE_DESC, ID3DXEffect::ValidateTechnique