IDCompositionColorMatrixEffect::SetClampOutput method

Specifies whether the effect clamps color values to between 0 and 1 before the effects passes the values to the next effect in the chain.

Syntax

HRESULT SetClampOutput(
  BOOL clamp
);

Parameters

clamp

Type: BOOL

A boolean value indicating whether the effect clamps color values to between 0 and 1 before the effects passes the values to the next effect in the chain.

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

IDCompositionColorMatrixEffect