?/TD>
Microsoft DirectX 9.0

ID3DXEffect::SetTechnique Method


Sets the active technique.

Syntax

HRESULT SetTechnique(      

    D3DXHANDLE hTechnique );

Parameters

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

Return Value

If the method succeeds, the return value is S_OK.

If the method fails, the return value can be D3DERR_INVALIDCALL.





© 2002 Microsoft Corporation. All rights reserved.