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

ID3D10EffectDepthStencilVariable

COM
IIDaf482368-330a-46a5-9a5c-01c71af24c8d継承元ID3D10EffectVariable自前メソッド開始 vtbl25

メソッド 2

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

vtbl 25 HRESULT GetDepthStencilState(DWORD Index, ID3D10DepthStencilState** ppDepthStencilState)
IndexDWORDin配列内の深度ステンシルステートを示すゼロ基点のインデックス。
ppDepthStencilStateID3D10DepthStencilState**out深度ステンシルステートを受け取る ID3D10DepthStencilState ポインタのアドレス。参照カウントが増える。
vtbl 26 HRESULT GetBackingStore(DWORD Index, D3D10_DEPTH_STENCIL_DESC* pDepthStencilDesc)
IndexDWORDin配列内の深度ステンシルステートを示すゼロ基点のインデックス。
pDepthStencilDescD3D10_DEPTH_STENCIL_DESC*out深度ステンシルステートの記述を受け取る D3D10_DEPTH_STENCIL_DESC 構造体へのポインタ。

HSP用 COM定義

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

出力引数:
#define global IID_ID3D10EffectDepthStencilVariable "{AF482368-330A-46A5-9A5C-01C71AF24C8D}"
#usecom global ID3D10EffectDepthStencilVariable IID_ID3D10EffectDepthStencilVariable "{}"
#comfunc global ID3D10EffectDepthStencilVariable_GetDepthStencilState  25 int,sptr
#comfunc global ID3D10EffectDepthStencilVariable_GetBackingStore       26 int,var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。