d3d9.dllSetTechnique
Microsoft DirectX 9.0 SDK Update (October 2004)

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.





© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.