IDCompositionLinearTransferEffect::SetGreenYIntercept (float) 方法 (dcomp.h)

设置绿色通道线性函数的 Y 截距。

语法

HRESULT SetGreenYIntercept(
  [in] float greenYIntercept
);

参数

[in] greenYIntercept

类型: float

绿色通道线性函数的 Y 截距。

返回值

类型: HRESULT

如果该方法成功,则返回 S_OK。 否则,将返回 HRESULT 错误代码。

要求

要求
目标平台 Windows
标头 dcomp.h
Library Dcomp.lib
DLL Dcomp.dll

另请参阅

IDCompositionLinearTransferEffect