ID3D10EffectScalarVariable::SetFloat method (d3d10effect.h)

Set a floating-point variable.

Syntax

HRESULT SetFloat(
  [in] float Value
);

Parameters

[in] Value

Type: float

A pointer to the variable.

Return value

Type: HRESULT

Returns one of the following Direct3D 10 Return Codes.

Requirements

Requirement Value
Target Platform Windows
Header d3d10effect.h

See also

ID3D10EffectScalarVariable Interface