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

ID3D10EffectDepthStencilViewVariable

COM
IID3e02c918-cc79-4985-b622-2d92ad701623継承元ID3D10EffectVariable自前メソッド開始 vtbl25

メソッド 4

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

vtbl 25 HRESULT SetDepthStencil(ID3D10DepthStencilView* pResource)
pResourceID3D10DepthStencilView*inoptional変数に設定する深度ステンシルビュー。NULL でアンバインドできる。
vtbl 26 HRESULT GetDepthStencil(ID3D10DepthStencilView** ppResource)
ppResourceID3D10DepthStencilView**out現在設定されている深度ステンシルビューを受け取るインターフェイスポインタのアドレス。参照カウントが増える。
vtbl 27 HRESULT SetDepthStencilArray(ID3D10DepthStencilView** ppResources, DWORD Offset, DWORD Count)
ppResourcesID3D10DepthStencilView**in設定する深度ステンシルビューポインタ配列の先頭を指すアドレス。
OffsetDWORDin配列内の書き込み開始要素を示すゼロ基点のオフセット。
CountDWORDin書き込むビュー数。
vtbl 28 HRESULT GetDepthStencilArray(ID3D10DepthStencilView** ppResources, DWORD Offset, DWORD Count)
ppResourcesID3D10DepthStencilView**out深度ステンシルビューポインタ配列を受け取る先頭アドレス。各要素の参照カウントが増える。
OffsetDWORDin配列内の読み取り開始要素を示すゼロ基点のオフセット。
CountDWORDin読み取るビュー数。

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 指定が可能。