ホーム › Graphics.Direct3D12 › ID3D12Resource
ID3D12Resource
COMメソッド 7
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
| vtbl | メソッド |
|---|---|
| 8 | HRESULT Map(DWORD Subresource, D3D12_RANGE* pReadRange, void** ppData) |
| 9 | void Unmap(DWORD Subresource, D3D12_RANGE* pWrittenRange) |
| 10 | D3D12_RESOURCE_DESC GetDesc() |
| 11 | ULONGLONG GetGPUVirtualAddress() |
| 12 | HRESULT WriteToSubresource(DWORD DstSubresource, D3D12_BOX* pDstBox, void* pSrcData, DWORD SrcRowPitch, DWORD SrcDepthPitch) |
| 13 | HRESULT ReadFromSubresource(void* pDstData, DWORD DstRowPitch, DWORD DstDepthPitch, DWORD SrcSubresource, D3D12_BOX* pSrcBox) |
| 14 | HRESULT GetHeapProperties(D3D12_HEAP_PROPERTIES* pHeapProperties, D3D12_HEAP_FLAGS* pHeapFlags) |