ホーム › Graphics.Direct3D10 › ID3D10EffectRenderTargetViewVariable
ID3D10EffectRenderTargetViewVariable
COMメソッド 4
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 25 HRESULT SetRenderTarget(ID3D10RenderTargetView* pResource)
| pResource | ID3D10RenderTargetView* | inoptional | 変数に設定するレンダーターゲットビュー。NULL でアンバインドできる。 |
vtbl 26 HRESULT GetRenderTarget(ID3D10RenderTargetView** ppResource)
| ppResource | ID3D10RenderTargetView** | out | 現在設定されているレンダーターゲットビューを受け取るインターフェイスポインタのアドレス。参照カウントが増える。 |
vtbl 27 HRESULT SetRenderTargetArray(ID3D10RenderTargetView** ppResources, DWORD Offset, DWORD Count)
| ppResources | ID3D10RenderTargetView** | in | 設定するレンダーターゲットビューポインタ配列の先頭を指すアドレス。 |
| Offset | DWORD | in | 配列内の書き込み開始要素を示すゼロ基点のオフセット。 |
| Count | DWORD | in | 書き込むビュー数。 |
vtbl 28 HRESULT GetRenderTargetArray(ID3D10RenderTargetView** ppResources, DWORD Offset, DWORD Count)
| ppResources | ID3D10RenderTargetView** | out | レンダーターゲットビューポインタ配列を受け取る先頭アドレス。各要素の参照カウントが増える。 |
| Offset | DWORD | in | 配列内の読み取り開始要素を示すゼロ基点のオフセット。 |
| Count | DWORD | in | 読み取るビュー数。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
#define global IID_ID3D10EffectRenderTargetViewVariable "{28CA0CC3-C2C9-40BB-B57F-67B737122B17}"
#usecom global ID3D10EffectRenderTargetViewVariable IID_ID3D10EffectRenderTargetViewVariable "{}"
#comfunc global ID3D10EffectRenderTargetViewVariable_SetRenderTarget 25 sptr
#comfunc global ID3D10EffectRenderTargetViewVariable_GetRenderTarget 26 sptr
#comfunc global ID3D10EffectRenderTargetViewVariable_SetRenderTargetArray 27 sptr,int,int
#comfunc global ID3D10EffectRenderTargetViewVariable_GetRenderTargetArray 28 sptr,int,int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。