IDCompositionArithmeticCompositeEffect::SetClampOutput method (dcomp.h)

Specifies whether to clamp color values before the effect passes the values to the next effect in the graph.

Syntax

HRESULT SetClampOutput(
  [in] BOOL clampoutput
);

Parameters

[in] clampoutput

Type: BOOL

A boolean value indicating whether to clamp the color values. A value of TRUE causes color values to be clamped between 0 and 1.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Target Platform Windows
Header dcomp.h
Library Dcomp.lib
DLL Dcomp.dll

See also

IDCompositionArithmeticCompositeEffect