Win32 API 日本語リファレンス
ホームGraphics.DirectComposition › IDCompositionLinearTransferEffect

IDCompositionLinearTransferEffect

COM
IID4305ee5b-c4a0-4c88-9385-67124e017683継承元IDCompositionFilterEffect自前メソッド開始 vtbl4

メソッド 21

vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。

vtbl 4 HRESULT SetRedYIntercept(IDCompositionAnimation* animation)
animationIDCompositionAnimation*in赤チャンネルのY切片を時間変化させるアニメーションオブジェクト。NULL不可。
vtbl 5 HRESULT SetRedYIntercept(FLOAT redYIntercept)
redYInterceptFLOATin赤チャンネル線形変換のY切片。入力0時の出力値を示す浮動小数点値である。
vtbl 6 HRESULT SetRedSlope(IDCompositionAnimation* animation)
animationIDCompositionAnimation*in赤チャンネルの傾きを時間変化させるアニメーションオブジェクト。NULL不可。
vtbl 7 HRESULT SetRedSlope(FLOAT redSlope)
redSlopeFLOATin赤チャンネル線形変換の傾き(係数)を示す浮動小数点値である。
vtbl 8 HRESULT SetRedDisable(BOOL redDisable)
redDisableBOOLinTRUEで赤チャンネルの変換を無効化(素通し)するかを指定するフラグである。
vtbl 9 HRESULT SetGreenYIntercept(IDCompositionAnimation* animation)
animationIDCompositionAnimation*in緑チャンネルのY切片を時間変化させるアニメーションオブジェクト。NULL不可。
vtbl 10 HRESULT SetGreenYIntercept(FLOAT greenYIntercept)
greenYInterceptFLOATin緑チャンネル線形変換のY切片。入力0時の出力値を示す浮動小数点値である。
vtbl 11 HRESULT SetGreenSlope(IDCompositionAnimation* animation)
animationIDCompositionAnimation*in緑チャンネルの傾きを時間変化させるアニメーションオブジェクト。NULL不可。
vtbl 12 HRESULT SetGreenSlope(FLOAT greenSlope)
greenSlopeFLOATin緑チャンネル線形変換の傾き(係数)を示す浮動小数点値である。
vtbl 13 HRESULT SetGreenDisable(BOOL greenDisable)
greenDisableBOOLinTRUEで緑チャンネルの変換を無効化(素通し)するかを指定するフラグである。
vtbl 14 HRESULT SetBlueYIntercept(IDCompositionAnimation* animation)
animationIDCompositionAnimation*in青チャンネルのY切片を時間変化させるアニメーションオブジェクト。NULL不可。
vtbl 15 HRESULT SetBlueYIntercept(FLOAT blueYIntercept)
blueYInterceptFLOATin青チャンネル線形変換のY切片。入力0時の出力値を示す浮動小数点値である。
vtbl 16 HRESULT SetBlueSlope(IDCompositionAnimation* animation)
animationIDCompositionAnimation*in青チャンネルの傾きを時間変化させるアニメーションオブジェクト。NULL不可。
vtbl 17 HRESULT SetBlueSlope(FLOAT blueSlope)
blueSlopeFLOATin青チャンネル線形変換の傾き(係数)を示す浮動小数点値である。
vtbl 18 HRESULT SetBlueDisable(BOOL blueDisable)
blueDisableBOOLinTRUEで青チャンネルの変換を無効化(素通し)するかを指定するフラグである。
vtbl 19 HRESULT SetAlphaYIntercept(IDCompositionAnimation* animation)
animationIDCompositionAnimation*inアルファのY切片を時間変化させるアニメーションオブジェクト。NULL不可。
vtbl 20 HRESULT SetAlphaYIntercept(FLOAT alphaYIntercept)
alphaYInterceptFLOATinアルファチャンネル線形変換のY切片。入力0時の出力値を示す浮動小数点値である。
vtbl 21 HRESULT SetAlphaSlope(IDCompositionAnimation* animation)
animationIDCompositionAnimation*inアルファの傾きを時間変化させるアニメーションオブジェクト。NULL不可。
vtbl 22 HRESULT SetAlphaSlope(FLOAT alphaSlope)
alphaSlopeFLOATinアルファチャンネル線形変換の傾き(係数)を示す浮動小数点値である。
vtbl 23 HRESULT SetAlphaDisable(BOOL alphaDisable)
alphaDisableBOOLinTRUEでアルファチャンネルの変換を無効化(素通し)するかを指定するフラグである。
vtbl 24 HRESULT SetClampOutput(BOOL clampOutput)
clampOutputBOOLinTRUEで出力を0〜1範囲にクランプするかを指定するフラグである。

HSP用 COM定義

#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"

#define global IID_IDCompositionLinearTransferEffect "{4305EE5B-C4A0-4C88-9385-67124E017683}"
#usecom global IDCompositionLinearTransferEffect IID_IDCompositionLinearTransferEffect "{}"
#comfunc global IDCompositionLinearTransferEffect_SetRedYIntercept    4 sptr
#comfunc global IDCompositionLinearTransferEffect_SetRedYIntercept    5 float
#comfunc global IDCompositionLinearTransferEffect_SetRedSlope         6 sptr
#comfunc global IDCompositionLinearTransferEffect_SetRedSlope         7 float
#comfunc global IDCompositionLinearTransferEffect_SetRedDisable       8 int
#comfunc global IDCompositionLinearTransferEffect_SetGreenYIntercept  9 sptr
#comfunc global IDCompositionLinearTransferEffect_SetGreenYIntercept  10 float
#comfunc global IDCompositionLinearTransferEffect_SetGreenSlope       11 sptr
#comfunc global IDCompositionLinearTransferEffect_SetGreenSlope       12 float
#comfunc global IDCompositionLinearTransferEffect_SetGreenDisable     13 int
#comfunc global IDCompositionLinearTransferEffect_SetBlueYIntercept   14 sptr
#comfunc global IDCompositionLinearTransferEffect_SetBlueYIntercept   15 float
#comfunc global IDCompositionLinearTransferEffect_SetBlueSlope        16 sptr
#comfunc global IDCompositionLinearTransferEffect_SetBlueSlope        17 float
#comfunc global IDCompositionLinearTransferEffect_SetBlueDisable      18 int
#comfunc global IDCompositionLinearTransferEffect_SetAlphaYIntercept  19 sptr
#comfunc global IDCompositionLinearTransferEffect_SetAlphaYIntercept  20 float
#comfunc global IDCompositionLinearTransferEffect_SetAlphaSlope       21 sptr
#comfunc global IDCompositionLinearTransferEffect_SetAlphaSlope       22 float
#comfunc global IDCompositionLinearTransferEffect_SetAlphaDisable     23 int
#comfunc global IDCompositionLinearTransferEffect_SetClampOutput      24 int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。