IDCompositionColorMatrixEffect::SetClampOutput method (dcomp.h)

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(
  [in] BOOL clamp
);

Parameters

[in] 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

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

See also

IDCompositionColorMatrixEffect