?/TD>
Microsoft DirectX 9.0

ID3DXEffect::SetFloat Method


Sets a floating point value.

Syntax

HRESULT SetFloat(      

    D3DXHANDLE hParameter,     FLOAT f );

Parameters

hParameter
[in] Unique identifier. See Handles.
f
[in] Floating point value.

Return Value

If the method succeeds, the return value is D3D_OK.

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



See Also

ID3DXBaseEffect::GetFloat


© 2002 Microsoft Corporation. All rights reserved.