IDCompositionLinearTransferEffect::SetClampOutput method (dcomp.h)
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(
[in] BOOL clampOutput
);
Parameters
[in] 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
Requirement | Value |
---|---|
Target Platform | Windows |
Header | dcomp.h |
Library | Dcomp.lib |
DLL | Dcomp.dll |