ID3DXEffect::SetTechnique

Sets the active technique.

HRESULT SetTechnique(
  D3DXHANDLE hTechnique
);

Parameters

hTechnique
[in] Unique handle to the technique. See Handles.

Return Values

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

Requirements

Header: Declared in D3dx9effect.h.