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

ID3D11ShaderReflectionType

COM
IID6e6ffa6a-9bae-4613-a51e-91652d508c21自前メソッド開始 vtbl0

メソッド 11

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

vtbl 0 HRESULT GetDesc(D3D11_SHADER_TYPE_DESC* pDesc)
pDescD3D11_SHADER_TYPE_DESC*outこの型の記述(クラス・行列サイズ等)を受け取るD3D11_SHADER_TYPE_DESC出力ポインタ。
vtbl 1 ID3D11ShaderReflectionType* GetMemberTypeByIndex(DWORD Index)
IndexDWORDin0始まりのメンバインデックスを指定し、対応するメンバ型を取得する。
vtbl 2 ID3D11ShaderReflectionType* GetMemberTypeByName(LPSTR Name)
NameLPSTRin取得対象のメンバ名(ANSI文字列)を指定する。
vtbl 3 LPSTR GetMemberTypeName(DWORD Index)
IndexDWORDin0始まりのメンバインデックスを指定し、そのメンバ名を取得する。
vtbl 4 HRESULT IsEqual(ID3D11ShaderReflectionType* pType)
pTypeID3D11ShaderReflectionType*in等価比較する相手の型インターフェイスを指す。
vtbl 5 ID3D11ShaderReflectionType* GetSubType()
vtbl 6 ID3D11ShaderReflectionType* GetBaseClass()
vtbl 7 DWORD GetNumInterfaces()
vtbl 8 ID3D11ShaderReflectionType* GetInterfaceByIndex(DWORD uIndex)
uIndexDWORDin0始まりのインデックスを指定し、この型が持つインターフェイス型を取得する。
vtbl 9 HRESULT IsOfType(ID3D11ShaderReflectionType* pType)
pTypeID3D11ShaderReflectionType*in型一致を判定する相手の型インターフェイスを指す。
vtbl 10 HRESULT ImplementsInterface(ID3D11ShaderReflectionType* pBase)
pBaseID3D11ShaderReflectionType*in実装しているか判定する基底インターフェイス型を指す。

HSP用 COM定義

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

出力引数:
#define global IID_ID3D11ShaderReflectionType "{6E6FFA6A-9BAE-4613-A51E-91652D508C21}"
#usecom global ID3D11ShaderReflectionType IID_ID3D11ShaderReflectionType "{}"
#comfunc global ID3D11ShaderReflectionType_GetDesc               0 var
#comfunc global ID3D11ShaderReflectionType_GetMemberTypeByIndex  1 int
#comfunc global ID3D11ShaderReflectionType_GetMemberTypeByName   2 str
#comfunc global ID3D11ShaderReflectionType_GetMemberTypeName     3 int
#comfunc global ID3D11ShaderReflectionType_IsEqual               4 sptr
#comfunc global ID3D11ShaderReflectionType_GetSubType            5
#comfunc global ID3D11ShaderReflectionType_GetBaseClass          6
#comfunc global ID3D11ShaderReflectionType_GetNumInterfaces      7
#comfunc global ID3D11ShaderReflectionType_GetInterfaceByIndex   8 int
#comfunc global ID3D11ShaderReflectionType_IsOfType              9 sptr
#comfunc global ID3D11ShaderReflectionType_ImplementsInterface   10 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。