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