IDCompositionLinearTransferEffect::SetClampOutput method

Specifies whether the effect clamps color values to between 0 and 1 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 that specifies whether the effect clamps color values to between 0 and 1 before the effect passes the values to the next effect in the graph. If you set this to TRUE the effect will clamp the values. If you set this to FALSE, the effect will not clamp the color values, but other effects and the output surface may clamp the values if they are not of high enough precision.

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

IDCompositionLinearTransferEffect