ID3D10EffectScalarVariable::SetBool method (d3d10effect.h)

Set a boolean variable.

Syntax

HRESULT SetBool(
  [in] BOOL Value
);

Parameters

[in] Value

Type: BOOL

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