ホーム › Graphics.Direct3D12 › ID3D12GraphicsCommandList
ID3D12GraphicsCommandList
COMメソッド 51
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 9 HRESULT Close()
vtbl 10 HRESULT Reset(ID3D12CommandAllocator* pAllocator, ID3D12PipelineState* pInitialState)
| pAllocator | ID3D12CommandAllocator* | in | コマンドの記録に使用するコマンドアロケータを指す。 |
| pInitialState | ID3D12PipelineState* | inoptional | リセット後の初期パイプラインステートを指す。NULL可。 |
vtbl 11 void ClearState(ID3D12PipelineState* pPipelineState)
| pPipelineState | ID3D12PipelineState* | inoptional | クリア後に設定する初期パイプラインステートを指す。NULL可。 |
vtbl 12 void DrawInstanced(DWORD VertexCountPerInstance, DWORD InstanceCount, DWORD StartVertexLocation, DWORD StartInstanceLocation)
| VertexCountPerInstance | DWORD | in | 1インスタンスあたりに描画する頂点数を指定する。 |
| InstanceCount | DWORD | in | 描画するインスタンス数を指定する。 |
| StartVertexLocation | DWORD | in | 頂点バッファ内の描画開始頂点インデックスを指定する。 |
| StartInstanceLocation | DWORD | in | 描画開始インスタンスのインデックスを指定する。 |
vtbl 13 void DrawIndexedInstanced(DWORD IndexCountPerInstance, DWORD InstanceCount, DWORD StartIndexLocation, INT BaseVertexLocation, DWORD StartInstanceLocation)
| IndexCountPerInstance | DWORD | in | 1インスタンスあたりに描画するインデックス数を指定する。 |
| InstanceCount | DWORD | in | 描画するインスタンス数を指定する。 |
| StartIndexLocation | DWORD | in | インデックスバッファ内の描画開始位置を指定する。 |
| BaseVertexLocation | INT | in | 各インデックスに加算する頂点オフセット(符号付き)を指定する。 |
| StartInstanceLocation | DWORD | in | 描画開始インスタンスのインデックスを指定する。 |
| ThreadGroupCountX | DWORD | in | X方向にディスパッチするスレッドグループ数を指定する。 |
| ThreadGroupCountY | DWORD | in | Y方向にディスパッチするスレッドグループ数を指定する。 |
| ThreadGroupCountZ | DWORD | in | Z方向にディスパッチするスレッドグループ数を指定する。 |
vtbl 15 void CopyBufferRegion(ID3D12Resource* pDstBuffer, ULONGLONG DstOffset, ID3D12Resource* pSrcBuffer, ULONGLONG SrcOffset, ULONGLONG NumBytes)
| pDstBuffer | ID3D12Resource* | in | コピー先のバッファリソースを指す。 |
| DstOffset | ULONGLONG | in | コピー先バッファ内の書き込み開始バイトオフセットを指定する。 |
| pSrcBuffer | ID3D12Resource* | in | コピー元のバッファリソースを指す。 |
| SrcOffset | ULONGLONG | in | コピー元バッファ内の読み取り開始バイトオフセットを指定する。 |
| NumBytes | ULONGLONG | in | コピーするバイト数を指定する。 |
vtbl 16 void CopyTextureRegion(D3D12_TEXTURE_COPY_LOCATION* pDst, DWORD DstX, DWORD DstY, DWORD DstZ, D3D12_TEXTURE_COPY_LOCATION* pSrc, D3D12_BOX* pSrcBox)
| pDst | D3D12_TEXTURE_COPY_LOCATION* | in | コピー先のテクスチャコピー位置(リソースとサブリソース)を指す。 |
| DstX | DWORD | in | コピー先のX座標(ピクセル単位)を指定する。 |
| DstY | DWORD | in | コピー先のY座標(ピクセル単位)を指定する。 |
| DstZ | DWORD | in | コピー先のZ座標(ピクセル単位)を指定する。 |
| pSrc | D3D12_TEXTURE_COPY_LOCATION* | in | コピー元のテクスチャコピー位置を指す。 |
| pSrcBox | D3D12_BOX* | inoptional | コピー元の対象領域を示すD3D12_BOXを指す。全体ならNULL可。 |
vtbl 17 void CopyResource(ID3D12Resource* pDstResource, ID3D12Resource* pSrcResource)
| pDstResource | ID3D12Resource* | in | コピー先のリソース全体を指す。 |
| pSrcResource | ID3D12Resource* | in | コピー元のリソース全体を指す。同一サイズ・互換フォーマットが必要。 |
vtbl 18 void CopyTiles(ID3D12Resource* pTiledResource, D3D12_TILED_RESOURCE_COORDINATE* pTileRegionStartCoordinate, D3D12_TILE_REGION_SIZE* pTileRegionSize, ID3D12Resource* pBuffer, ULONGLONG BufferStartOffsetInBytes, D3D12_TILE_COPY_FLAGS Flags)
| pTiledResource | ID3D12Resource* | in | コピー対象のタイル化リソースを指す。 |
| pTileRegionStartCoordinate | D3D12_TILED_RESOURCE_COORDINATE* | in | タイル領域の開始座標を示すD3D12_TILED_RESOURCE_COORDINATEを指す。 |
| pTileRegionSize | D3D12_TILE_REGION_SIZE* | in | コピーするタイル領域のサイズを示すD3D12_TILE_REGION_SIZEを指す。 |
| pBuffer | ID3D12Resource* | in | タイルデータの入出力先となるバッファリソースを指す。 |
| BufferStartOffsetInBytes | ULONGLONG | in | バッファ内の開始バイトオフセットを指定する。 |
| Flags | D3D12_TILE_COPY_FLAGS | in | コピー方向や動作を指定するD3D12_TILE_COPY_FLAGSのビット組み合わせ。 |
vtbl 19 void ResolveSubresource(ID3D12Resource* pDstResource, DWORD DstSubresource, ID3D12Resource* pSrcResource, DWORD SrcSubresource, DXGI_FORMAT Format)
| pDstResource | ID3D12Resource* | in | 解決結果を書き込む単一サンプルの宛先リソースを指す。 |
| DstSubresource | DWORD | in | 宛先サブリソースのインデックスを指定する。 |
| pSrcResource | ID3D12Resource* | in | 解決元となるマルチサンプルリソースを指す。 |
| SrcSubresource | DWORD | in | 解決元サブリソースのインデックスを指定する。 |
| Format | DXGI_FORMAT | in | 解決処理に用いるDXGI_FORMATを指定する。 |
vtbl 20 void IASetPrimitiveTopology(D3D_PRIMITIVE_TOPOLOGY PrimitiveTopology)
| PrimitiveTopology | D3D_PRIMITIVE_TOPOLOGY | in | 入力アセンブラに設定するプリミティブトポロジを示すD3D_PRIMITIVE_TOPOLOGY値を指定する。 |
vtbl 21 void RSSetViewports(DWORD NumViewports, D3D12_VIEWPORT* pViewports)
| NumViewports | DWORD | in | 設定するビューポートの数を指定する。 |
| pViewports | D3D12_VIEWPORT* | in | 設定するD3D12_VIEWPORT構造体の配列を指す。 |
| NumRects | DWORD | in | 設定するシザー矩形の数を指定する。 |
| pRects | RECT* | in | 設定するシザー矩形(RECT)の配列を指す。 |
vtbl 23 void OMSetBlendFactor(FLOAT* BlendFactor)
| BlendFactor | FLOAT* | inoptional | ブレンドに用いるRGBA各成分の係数を持つFLOAT4配列を指す。NULLなら既定値を使う。 |
vtbl 24 void OMSetStencilRef(DWORD StencilRef)
| StencilRef | DWORD | in | ステンシルテストに用いる参照値を指定する。 |
vtbl 25 void SetPipelineState(ID3D12PipelineState* pPipelineState)
| pPipelineState | ID3D12PipelineState* | in | 設定するグラフィックスまたはコンピュートのパイプラインステートを指す。 |
vtbl 26 void ResourceBarrier(DWORD NumBarriers, D3D12_RESOURCE_BARRIER* pBarriers)
| NumBarriers | DWORD | in | 適用するリソースバリアの数を指定する。 |
| pBarriers | D3D12_RESOURCE_BARRIER* | in | 状態遷移やUAV同期等を記述するD3D12_RESOURCE_BARRIER配列を指す。 |
vtbl 27 void ExecuteBundle(ID3D12GraphicsCommandList* pCommandList)
| pCommandList | ID3D12GraphicsCommandList* | in | 実行するバンドル(タイプBUNDLE)のコマンドリストを指す。 |
vtbl 28 void SetDescriptorHeaps(DWORD NumDescriptorHeaps, ID3D12DescriptorHeap** ppDescriptorHeaps)
| NumDescriptorHeaps | DWORD | in | 設定するディスクリプタヒープの数を指定する。 |
| ppDescriptorHeaps | ID3D12DescriptorHeap** | in | シェーダから参照可能なディスクリプタヒープの配列を指す。 |
vtbl 29 void SetComputeRootSignature(ID3D12RootSignature* pRootSignature)
| pRootSignature | ID3D12RootSignature* | inoptional | コンピュートパイプラインに設定するルートシグネチャを指す。 |
vtbl 30 void SetGraphicsRootSignature(ID3D12RootSignature* pRootSignature)
| pRootSignature | ID3D12RootSignature* | inoptional | グラフィックスパイプラインに設定するルートシグネチャを指す。 |
vtbl 31 void SetComputeRootDescriptorTable(DWORD RootParameterIndex, D3D12_GPU_DESCRIPTOR_HANDLE BaseDescriptor)
| RootParameterIndex | DWORD | in | 設定対象のルートパラメータインデックスを指定する。 |
| BaseDescriptor | D3D12_GPU_DESCRIPTOR_HANDLE | in | ディスクリプタテーブルの基点となるGPUディスクリプタハンドルを指定する。 |
vtbl 32 void SetGraphicsRootDescriptorTable(DWORD RootParameterIndex, D3D12_GPU_DESCRIPTOR_HANDLE BaseDescriptor)
| RootParameterIndex | DWORD | in | 設定対象のルートパラメータインデックスを指定する。 |
| BaseDescriptor | D3D12_GPU_DESCRIPTOR_HANDLE | in | ディスクリプタテーブルの基点となるGPUディスクリプタハンドルを指定する。 |
vtbl 33 void SetComputeRoot32BitConstant(DWORD RootParameterIndex, DWORD SrcData, DWORD DestOffsetIn32BitValues)
| RootParameterIndex | DWORD | in | 設定対象のルートパラメータインデックスを指定する。 |
| SrcData | DWORD | in | 設定する32ビット定数値を指定する。 |
| DestOffsetIn32BitValues | DWORD | in | ルート定数内の書き込み先を32ビット単位のオフセットで指定する。 |
vtbl 34 void SetGraphicsRoot32BitConstant(DWORD RootParameterIndex, DWORD SrcData, DWORD DestOffsetIn32BitValues)
| RootParameterIndex | DWORD | in | 設定対象のルートパラメータインデックスを指定する。 |
| SrcData | DWORD | in | 設定する32ビット定数値を指定する。 |
| DestOffsetIn32BitValues | DWORD | in | ルート定数内の書き込み先を32ビット単位のオフセットで指定する。 |
vtbl 35 void SetComputeRoot32BitConstants(DWORD RootParameterIndex, DWORD Num32BitValuesToSet, void* pSrcData, DWORD DestOffsetIn32BitValues)
| RootParameterIndex | DWORD | in | 設定対象のルートパラメータインデックスを指定する。 |
| Num32BitValuesToSet | DWORD | in | 設定する32ビット値の個数を指定する。 |
| pSrcData | void* | in | 設定する定数値の配列を指す。 |
| DestOffsetIn32BitValues | DWORD | in | ルート定数内の書き込み開始を32ビット単位のオフセットで指定する。 |
vtbl 36 void SetGraphicsRoot32BitConstants(DWORD RootParameterIndex, DWORD Num32BitValuesToSet, void* pSrcData, DWORD DestOffsetIn32BitValues)
| RootParameterIndex | DWORD | in | 設定対象のルートパラメータインデックスを指定する。 |
| Num32BitValuesToSet | DWORD | in | 設定する32ビット値の個数を指定する。 |
| pSrcData | void* | in | 設定する定数値の配列を指す。 |
| DestOffsetIn32BitValues | DWORD | in | ルート定数内の書き込み開始を32ビット単位のオフセットで指定する。 |
| RootParameterIndex | DWORD | in | 設定対象のルートパラメータインデックスを指定する。 |
| BufferLocation | ULONGLONG | in | バインドする定数バッファのGPU仮想アドレスを指定する。 |
| RootParameterIndex | DWORD | in | 設定対象のルートパラメータインデックスを指定する。 |
| BufferLocation | ULONGLONG | in | バインドする定数バッファのGPU仮想アドレスを指定する。 |
| RootParameterIndex | DWORD | in | 設定対象のルートパラメータインデックスを指定する。 |
| BufferLocation | ULONGLONG | in | バインドするSRVバッファのGPU仮想アドレスを指定する。 |
| RootParameterIndex | DWORD | in | 設定対象のルートパラメータインデックスを指定する。 |
| BufferLocation | ULONGLONG | in | バインドするSRVバッファのGPU仮想アドレスを指定する。 |
| RootParameterIndex | DWORD | in | 設定対象のルートパラメータインデックスを指定する。 |
| BufferLocation | ULONGLONG | in | バインドするUAVバッファのGPU仮想アドレスを指定する。 |
| RootParameterIndex | DWORD | in | 設定対象のルートパラメータインデックスを指定する。 |
| BufferLocation | ULONGLONG | in | バインドするUAVバッファのGPU仮想アドレスを指定する。 |
vtbl 43 void IASetIndexBuffer(D3D12_INDEX_BUFFER_VIEW* pView)
| pView | D3D12_INDEX_BUFFER_VIEW* | inoptional | 入力アセンブラに設定するインデックスバッファビューを指す。解除する場合はNULL可。 |
vtbl 44 void IASetVertexBuffers(DWORD StartSlot, DWORD NumViews, D3D12_VERTEX_BUFFER_VIEW* pViews)
| StartSlot | DWORD | in | 頂点バッファをバインドする開始スロット番号を指定する。 |
| NumViews | DWORD | in | バインドする頂点バッファビューの数を指定する。 |
| pViews | D3D12_VERTEX_BUFFER_VIEW* | inoptional | 設定するD3D12_VERTEX_BUFFER_VIEW配列を指す。 |
vtbl 45 void SOSetTargets(DWORD StartSlot, DWORD NumViews, D3D12_STREAM_OUTPUT_BUFFER_VIEW* pViews)
| StartSlot | DWORD | in | ストリーム出力バッファをバインドする開始スロット番号を指定する。 |
| NumViews | DWORD | in | バインドするストリーム出力ビューの数を指定する。 |
| pViews | D3D12_STREAM_OUTPUT_BUFFER_VIEW* | inoptional | 設定するD3D12_STREAM_OUTPUT_BUFFER_VIEW配列を指す。 |
vtbl 46 void OMSetRenderTargets(DWORD NumRenderTargetDescriptors, D3D12_CPU_DESCRIPTOR_HANDLE* pRenderTargetDescriptors, BOOL RTsSingleHandleToDescriptorRange, D3D12_CPU_DESCRIPTOR_HANDLE* pDepthStencilDescriptor)
| NumRenderTargetDescriptors | DWORD | in | 設定するレンダーターゲットの数を指定する。 |
| pRenderTargetDescriptors | D3D12_CPU_DESCRIPTOR_HANDLE* | inoptional | RTVのCPUディスクリプタハンドル配列、または連続範囲の先頭を指す。 |
| RTsSingleHandleToDescriptorRange | BOOL | in | TRUEなら配列が連続ディスクリプタ範囲の先頭1個を指すと解釈する。 |
| pDepthStencilDescriptor | D3D12_CPU_DESCRIPTOR_HANDLE* | inoptional | 深度ステンシルビューのCPUディスクリプタハンドルを指す。不要ならNULL可。 |
vtbl 47 void ClearDepthStencilView(D3D12_CPU_DESCRIPTOR_HANDLE DepthStencilView, D3D12_CLEAR_FLAGS ClearFlags, FLOAT Depth, BYTE Stencil, DWORD NumRects, RECT* pRects)
| DepthStencilView | D3D12_CPU_DESCRIPTOR_HANDLE | in | クリア対象の深度ステンシルビューのCPUディスクリプタハンドルを指定する。 |
| ClearFlags | D3D12_CLEAR_FLAGS | in | 深度・ステンシルのどちらをクリアするかを示すD3D12_CLEAR_FLAGSを指定する。 |
| Depth | FLOAT | in | クリアに用いる深度値を指定する。 |
| Stencil | BYTE | in | クリアに用いるステンシル値を指定する。 |
| NumRects | DWORD | in | クリア対象矩形の数を指定する。0なら全体をクリアする。 |
| pRects | RECT* | inoptional | クリアする矩形(RECT)の配列を指す。全体クリアならNULL可。 |
vtbl 48 void ClearRenderTargetView(D3D12_CPU_DESCRIPTOR_HANDLE RenderTargetView, FLOAT* ColorRGBA, DWORD NumRects, RECT* pRects)
| RenderTargetView | D3D12_CPU_DESCRIPTOR_HANDLE | in | クリア対象のレンダーターゲットビューのCPUディスクリプタハンドルを指定する。 |
| ColorRGBA | FLOAT* | in | クリアに用いるRGBA色を持つFLOAT4配列を指す。 |
| NumRects | DWORD | in | クリア対象矩形の数を指定する。0なら全体をクリアする。 |
| pRects | RECT* | inoptional | クリアする矩形(RECT)の配列を指す。全体クリアならNULL可。 |
vtbl 49 void ClearUnorderedAccessViewUint(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, DWORD* Values, DWORD NumRects, RECT* pRects)
| ViewGPUHandleInCurrentHeap | D3D12_GPU_DESCRIPTOR_HANDLE | in | シェーダ可視ヒープ内のUAVのGPUディスクリプタハンドルを指定する。 |
| ViewCPUHandle | D3D12_CPU_DESCRIPTOR_HANDLE | in | 非シェーダ可視ヒープ内の同UAVのCPUディスクリプタハンドルを指定する。 |
| pResource | ID3D12Resource* | in | クリア対象のリソースを指す。 |
| Values | DWORD* | in | クリアに用いる符号なし整数値のRGBA4要素配列を指す。 |
| NumRects | DWORD | in | クリア対象矩形の数を指定する。0なら全体をクリアする。 |
| pRects | RECT* | in | クリアする矩形(RECT)の配列を指す。全体クリアならNULL可。 |
vtbl 50 void ClearUnorderedAccessViewFloat(D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource* pResource, FLOAT* Values, DWORD NumRects, RECT* pRects)
| ViewGPUHandleInCurrentHeap | D3D12_GPU_DESCRIPTOR_HANDLE | in | シェーダ可視ヒープ内のUAVのGPUディスクリプタハンドルを指定する。 |
| ViewCPUHandle | D3D12_CPU_DESCRIPTOR_HANDLE | in | 非シェーダ可視ヒープ内の同UAVのCPUディスクリプタハンドルを指定する。 |
| pResource | ID3D12Resource* | in | クリア対象のリソースを指す。 |
| Values | FLOAT* | in | クリアに用いる浮動小数点値のRGBA4要素配列を指す。 |
| NumRects | DWORD | in | クリア対象矩形の数を指定する。0なら全体をクリアする。 |
| pRects | RECT* | in | クリアする矩形(RECT)の配列を指す。全体クリアならNULL可。 |
vtbl 51 void DiscardResource(ID3D12Resource* pResource, D3D12_DISCARD_REGION* pRegion)
| pResource | ID3D12Resource* | in | 破棄対象のリソースを指す。内容が不要であることをドライバに通知する。 |
| pRegion | D3D12_DISCARD_REGION* | inoptional | 破棄する領域とサブリソースを示すD3D12_DISCARD_REGIONを指す。全体ならNULL可。 |
vtbl 52 void BeginQuery(ID3D12QueryHeap* pQueryHeap, D3D12_QUERY_TYPE Type, DWORD Index)
| pQueryHeap | ID3D12QueryHeap* | in | クエリを格納するクエリヒープを指す。 |
| Type | D3D12_QUERY_TYPE | in | 開始するクエリの種類を示すD3D12_QUERY_TYPE値を指定する。 |
| Index | DWORD | in | クエリヒープ内の対象クエリのインデックスを指定する。 |
vtbl 53 void EndQuery(ID3D12QueryHeap* pQueryHeap, D3D12_QUERY_TYPE Type, DWORD Index)
| pQueryHeap | ID3D12QueryHeap* | in | クエリを格納するクエリヒープを指す。 |
| Type | D3D12_QUERY_TYPE | in | 終了するクエリの種類を示すD3D12_QUERY_TYPE値を指定する。 |
| Index | DWORD | in | クエリヒープ内の対象クエリのインデックスを指定する。 |
vtbl 54 void ResolveQueryData(ID3D12QueryHeap* pQueryHeap, D3D12_QUERY_TYPE Type, DWORD StartIndex, DWORD NumQueries, ID3D12Resource* pDestinationBuffer, ULONGLONG AlignedDestinationBufferOffset)
| pQueryHeap | ID3D12QueryHeap* | in | 解決対象のクエリを格納するクエリヒープを指す。 |
| Type | D3D12_QUERY_TYPE | in | 解決するクエリの種類を示すD3D12_QUERY_TYPE値を指定する。 |
| StartIndex | DWORD | in | 解決を開始するクエリのインデックスを指定する。 |
| NumQueries | DWORD | in | 解決するクエリの個数を指定する。 |
| pDestinationBuffer | ID3D12Resource* | in | 結果を書き込む宛先バッファリソースを指す。 |
| AlignedDestinationBufferOffset | ULONGLONG | in | 宛先バッファ内の書き込み開始バイトオフセット(整列必須)を指定する。 |
vtbl 55 void SetPredication(ID3D12Resource* pBuffer, ULONGLONG AlignedBufferOffset, D3D12_PREDICATION_OP Operation)
| pBuffer | ID3D12Resource* | inoptional | プレディケーション値を保持するバッファを指す。解除する場合はNULL可。 |
| AlignedBufferOffset | ULONGLONG | in | バッファ内のプレディケート値のバイトオフセット(整列必須)を指定する。 |
| Operation | D3D12_PREDICATION_OP | in | 値が0か非0かによる描画スキップ条件を示すD3D12_PREDICATION_OP値を指定する。 |
| Metadata | DWORD | in | マーカーデータの解釈方法を示すメタデータ値を指定する。 |
| pData | void* | inoptional | マーカーに付随するデータを指す。 |
| Size | DWORD | in | pDataが指すデータのサイズをバイト単位で指定する。 |
| Metadata | DWORD | in | イベントデータの解釈方法を示すメタデータ値を指定する。 |
| pData | void* | inoptional | イベントに付随するデータ(通常は名前)を指す。 |
| Size | DWORD | in | pDataが指すデータのサイズをバイト単位で指定する。 |
vtbl 58 void EndEvent()
vtbl 59 void ExecuteIndirect(ID3D12CommandSignature* pCommandSignature, DWORD MaxCommandCount, ID3D12Resource* pArgumentBuffer, ULONGLONG ArgumentBufferOffset, ID3D12Resource* pCountBuffer, ULONGLONG CountBufferOffset)
| pCommandSignature | ID3D12CommandSignature* | in | 間接実行するコマンドの構成を定義するコマンドシグネチャを指す。 |
| MaxCommandCount | DWORD | in | 実行するコマンドの最大数を指定する。 |
| pArgumentBuffer | ID3D12Resource* | in | コマンド引数を保持するバッファリソースを指す。 |
| ArgumentBufferOffset | ULONGLONG | in | 引数バッファ内の読み取り開始バイトオフセットを指定する。 |
| pCountBuffer | ID3D12Resource* | inoptional | 実際の実行コマンド数を保持するバッファを指す。固定数ならNULL可。 |
| CountBufferOffset | ULONGLONG | in | カウントバッファ内のカウント値のバイトオフセットを指定する。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_ID3D12GraphicsCommandList "{5B160D0F-AC1B-4185-8BA8-B3AE42A5A455}" #usecom global ID3D12GraphicsCommandList IID_ID3D12GraphicsCommandList "{}" #comfunc global ID3D12GraphicsCommandList_Close 9 #comfunc global ID3D12GraphicsCommandList_Reset 10 sptr,sptr #comfunc global ID3D12GraphicsCommandList_ClearState 11 sptr #comfunc global ID3D12GraphicsCommandList_DrawInstanced 12 int,int,int,int #comfunc global ID3D12GraphicsCommandList_DrawIndexedInstanced 13 int,int,int,int,int #comfunc global ID3D12GraphicsCommandList_Dispatch 14 int,int,int #comfunc global ID3D12GraphicsCommandList_CopyBufferRegion 15 sptr,int64,sptr,int64,int64 #comfunc global ID3D12GraphicsCommandList_CopyTextureRegion 16 var,int,int,int,var,var #comfunc global ID3D12GraphicsCommandList_CopyResource 17 sptr,sptr #comfunc global ID3D12GraphicsCommandList_CopyTiles 18 sptr,var,var,sptr,int64,int #comfunc global ID3D12GraphicsCommandList_ResolveSubresource 19 sptr,int,sptr,int,int #comfunc global ID3D12GraphicsCommandList_IASetPrimitiveTopology 20 int #comfunc global ID3D12GraphicsCommandList_RSSetViewports 21 int,var #comfunc global ID3D12GraphicsCommandList_RSSetScissorRects 22 int,var #comfunc global ID3D12GraphicsCommandList_OMSetBlendFactor 23 var #comfunc global ID3D12GraphicsCommandList_OMSetStencilRef 24 int #comfunc global ID3D12GraphicsCommandList_SetPipelineState 25 sptr #comfunc global ID3D12GraphicsCommandList_ResourceBarrier 26 int,var #comfunc global ID3D12GraphicsCommandList_ExecuteBundle 27 sptr #comfunc global ID3D12GraphicsCommandList_SetDescriptorHeaps 28 int,sptr #comfunc global ID3D12GraphicsCommandList_SetComputeRootSignature 29 sptr #comfunc global ID3D12GraphicsCommandList_SetGraphicsRootSignature 30 sptr #comfunc global ID3D12GraphicsCommandList_SetComputeRootDescriptorTable 31 int,int #comfunc global ID3D12GraphicsCommandList_SetGraphicsRootDescriptorTable 32 int,int #comfunc global ID3D12GraphicsCommandList_SetComputeRoot32BitConstant 33 int,int,int #comfunc global ID3D12GraphicsCommandList_SetGraphicsRoot32BitConstant 34 int,int,int #comfunc global ID3D12GraphicsCommandList_SetComputeRoot32BitConstants 35 int,int,sptr,int #comfunc global ID3D12GraphicsCommandList_SetGraphicsRoot32BitConstants 36 int,int,sptr,int #comfunc global ID3D12GraphicsCommandList_SetComputeRootConstantBufferView 37 int,int64 #comfunc global ID3D12GraphicsCommandList_SetGraphicsRootConstantBufferView 38 int,int64 #comfunc global ID3D12GraphicsCommandList_SetComputeRootShaderResourceView 39 int,int64 #comfunc global ID3D12GraphicsCommandList_SetGraphicsRootShaderResourceView 40 int,int64 #comfunc global ID3D12GraphicsCommandList_SetComputeRootUnorderedAccessView 41 int,int64 #comfunc global ID3D12GraphicsCommandList_SetGraphicsRootUnorderedAccessView 42 int,int64 #comfunc global ID3D12GraphicsCommandList_IASetIndexBuffer 43 var #comfunc global ID3D12GraphicsCommandList_IASetVertexBuffers 44 int,int,var #comfunc global ID3D12GraphicsCommandList_SOSetTargets 45 int,int,var #comfunc global ID3D12GraphicsCommandList_OMSetRenderTargets 46 int,var,int,var #comfunc global ID3D12GraphicsCommandList_ClearDepthStencilView 47 int,int,float,int,int,var #comfunc global ID3D12GraphicsCommandList_ClearRenderTargetView 48 int,var,int,var #comfunc global ID3D12GraphicsCommandList_ClearUnorderedAccessViewUint 49 int,int,sptr,var,int,var #comfunc global ID3D12GraphicsCommandList_ClearUnorderedAccessViewFloat 50 int,int,sptr,var,int,var #comfunc global ID3D12GraphicsCommandList_DiscardResource 51 sptr,var #comfunc global ID3D12GraphicsCommandList_BeginQuery 52 sptr,int,int #comfunc global ID3D12GraphicsCommandList_EndQuery 53 sptr,int,int #comfunc global ID3D12GraphicsCommandList_ResolveQueryData 54 sptr,int,int,int,sptr,int64 #comfunc global ID3D12GraphicsCommandList_SetPredication 55 sptr,int64,int #comfunc global ID3D12GraphicsCommandList_SetMarker 56 int,sptr,int #comfunc global ID3D12GraphicsCommandList_BeginEvent 57 int,sptr,int #comfunc global ID3D12GraphicsCommandList_EndEvent 58 #comfunc global ID3D12GraphicsCommandList_ExecuteIndirect 59 sptr,int,sptr,int64,sptr,int64 ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_ID3D12GraphicsCommandList "{5B160D0F-AC1B-4185-8BA8-B3AE42A5A455}" #usecom global ID3D12GraphicsCommandList IID_ID3D12GraphicsCommandList "{}" #comfunc global ID3D12GraphicsCommandList_Close 9 #comfunc global ID3D12GraphicsCommandList_Reset 10 sptr,sptr #comfunc global ID3D12GraphicsCommandList_ClearState 11 sptr #comfunc global ID3D12GraphicsCommandList_DrawInstanced 12 int,int,int,int #comfunc global ID3D12GraphicsCommandList_DrawIndexedInstanced 13 int,int,int,int,int #comfunc global ID3D12GraphicsCommandList_Dispatch 14 int,int,int #comfunc global ID3D12GraphicsCommandList_CopyBufferRegion 15 sptr,int64,sptr,int64,int64 #comfunc global ID3D12GraphicsCommandList_CopyTextureRegion 16 sptr,int,int,int,sptr,sptr #comfunc global ID3D12GraphicsCommandList_CopyResource 17 sptr,sptr #comfunc global ID3D12GraphicsCommandList_CopyTiles 18 sptr,sptr,sptr,sptr,int64,int #comfunc global ID3D12GraphicsCommandList_ResolveSubresource 19 sptr,int,sptr,int,int #comfunc global ID3D12GraphicsCommandList_IASetPrimitiveTopology 20 int #comfunc global ID3D12GraphicsCommandList_RSSetViewports 21 int,sptr #comfunc global ID3D12GraphicsCommandList_RSSetScissorRects 22 int,sptr #comfunc global ID3D12GraphicsCommandList_OMSetBlendFactor 23 sptr #comfunc global ID3D12GraphicsCommandList_OMSetStencilRef 24 int #comfunc global ID3D12GraphicsCommandList_SetPipelineState 25 sptr #comfunc global ID3D12GraphicsCommandList_ResourceBarrier 26 int,sptr #comfunc global ID3D12GraphicsCommandList_ExecuteBundle 27 sptr #comfunc global ID3D12GraphicsCommandList_SetDescriptorHeaps 28 int,sptr #comfunc global ID3D12GraphicsCommandList_SetComputeRootSignature 29 sptr #comfunc global ID3D12GraphicsCommandList_SetGraphicsRootSignature 30 sptr #comfunc global ID3D12GraphicsCommandList_SetComputeRootDescriptorTable 31 int,int #comfunc global ID3D12GraphicsCommandList_SetGraphicsRootDescriptorTable 32 int,int #comfunc global ID3D12GraphicsCommandList_SetComputeRoot32BitConstant 33 int,int,int #comfunc global ID3D12GraphicsCommandList_SetGraphicsRoot32BitConstant 34 int,int,int #comfunc global ID3D12GraphicsCommandList_SetComputeRoot32BitConstants 35 int,int,sptr,int #comfunc global ID3D12GraphicsCommandList_SetGraphicsRoot32BitConstants 36 int,int,sptr,int #comfunc global ID3D12GraphicsCommandList_SetComputeRootConstantBufferView 37 int,int64 #comfunc global ID3D12GraphicsCommandList_SetGraphicsRootConstantBufferView 38 int,int64 #comfunc global ID3D12GraphicsCommandList_SetComputeRootShaderResourceView 39 int,int64 #comfunc global ID3D12GraphicsCommandList_SetGraphicsRootShaderResourceView 40 int,int64 #comfunc global ID3D12GraphicsCommandList_SetComputeRootUnorderedAccessView 41 int,int64 #comfunc global ID3D12GraphicsCommandList_SetGraphicsRootUnorderedAccessView 42 int,int64 #comfunc global ID3D12GraphicsCommandList_IASetIndexBuffer 43 sptr #comfunc global ID3D12GraphicsCommandList_IASetVertexBuffers 44 int,int,sptr #comfunc global ID3D12GraphicsCommandList_SOSetTargets 45 int,int,sptr #comfunc global ID3D12GraphicsCommandList_OMSetRenderTargets 46 int,sptr,int,sptr #comfunc global ID3D12GraphicsCommandList_ClearDepthStencilView 47 int,int,float,int,int,sptr #comfunc global ID3D12GraphicsCommandList_ClearRenderTargetView 48 int,sptr,int,sptr #comfunc global ID3D12GraphicsCommandList_ClearUnorderedAccessViewUint 49 int,int,sptr,sptr,int,sptr #comfunc global ID3D12GraphicsCommandList_ClearUnorderedAccessViewFloat 50 int,int,sptr,sptr,int,sptr #comfunc global ID3D12GraphicsCommandList_DiscardResource 51 sptr,sptr #comfunc global ID3D12GraphicsCommandList_BeginQuery 52 sptr,int,int #comfunc global ID3D12GraphicsCommandList_EndQuery 53 sptr,int,int #comfunc global ID3D12GraphicsCommandList_ResolveQueryData 54 sptr,int,int,int,sptr,int64 #comfunc global ID3D12GraphicsCommandList_SetPredication 55 sptr,int64,int #comfunc global ID3D12GraphicsCommandList_SetMarker 56 int,sptr,int #comfunc global ID3D12GraphicsCommandList_BeginEvent 57 int,sptr,int #comfunc global ID3D12GraphicsCommandList_EndEvent 58 #comfunc global ID3D12GraphicsCommandList_ExecuteIndirect 59 sptr,int,sptr,int64,sptr,int64 ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。