IDCompositionArithmeticCompositeEffect::SetClampOutput method

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

Syntax

HRESULT SetClampOutput(
  BOOL clampoutput
);

Parameters

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

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

See Also

IDCompositionArithmeticCompositeEffect