ホーム › Graphics.Direct3D10 › ID3D10EffectDepthStencilViewVariable
ID3D10EffectDepthStencilViewVariable
COM公式ドキュメント
深度ステンシルビュー変数インターフェイスは、深度ステンシルビューにアクセスします。
メソッド 4
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 25 HRESULT SetDepthStencil(ID3D10DepthStencilView* pResource)
深度ステンシルビューリソースを設定します。
| pResource | ID3D10DepthStencilView* | inoptional | 深度ステンシルビューインターフェイスへのポインター。ID3D10DepthStencilView Interface を参照してください。 |
戻り値
型: HRESULT
次の Direct3D 10 リターンコード のいずれかを返します。
vtbl 26 HRESULT GetDepthStencil(ID3D10DepthStencilView** ppResource)
深度ステンシルビューリソースを取得します。
| ppResource | ID3D10DepthStencilView** | out | 深度ステンシルビューインターフェイスへのポインターのアドレス。ID3D10DepthStencilView Interface を参照してください。 |
戻り値
型: HRESULT
次の Direct3D 10 リターンコード のいずれかを返します。
vtbl 27 HRESULT SetDepthStencilArray(ID3D10DepthStencilView** ppResources, DWORD Offset, DWORD Count)
深度ステンシルビューリソースの配列を設定します。
| ppResources | ID3D10DepthStencilView** | in | 深度ステンシルビューインターフェイスの配列へのポインター。ID3D10DepthStencilView Interface を参照してください。 |
| Offset | DWORD | in | 最初のインターフェイスを設定する、0から始まる配列インデックス。 |
| Count | DWORD | in | 配列内の要素数。 |
戻り値
型: HRESULT
次の Direct3D 10 リターンコード のいずれかを返します。
vtbl 28 HRESULT GetDepthStencilArray(ID3D10DepthStencilView** ppResources, DWORD Offset, DWORD Count)
深度ステンシルビューリソースの配列を取得します。
| ppResources | ID3D10DepthStencilView** | out | 深度ステンシルビューインターフェイスの配列へのポインター。ID3D10DepthStencilView Interface を参照してください。 |
| Offset | DWORD | in | 最初のインターフェイスを取得する、0から始まる配列インデックス。 |
| Count | DWORD | in | 配列内の要素数。 |
戻り値
型: HRESULT
次の Direct3D 10 リターンコード のいずれかを返します。
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
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 指定が可能。