From 101fdeb8d3254f34ff96f77f50735a74d41b0d9c Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 1 Oct 2020 14:33:00 +0530 Subject: [PATCH v2 3/4] include: Add D3D12Heap interface in d3d12.idl. Signed-off-by: Biswapriyo Nath --- include/d3d12.idl | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/include/d3d12.idl b/include/d3d12.idl index beedf7c..e35a0a3 100644 --- a/include/d3d12.idl +++ b/include/d3d12.idl @@ -169,7 +169,6 @@ cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS);") interface ID3D12Fence; interface ID3D12RootSignature; -interface ID3D12Heap; interface ID3D12DescriptorHeap; interface ID3D12Resource; interface ID3D12CommandAllocator; @@ -1590,6 +1589,17 @@ interface ID3D12Pageable : ID3D12DeviceChild { } +[ + uuid(6b3b2502-6e51-45b3-90ee-9884265e8df3), + object, + local, + pointer_default(unique) +] +interface ID3D12Heap : ID3D12Pageable +{ + D3D12_HEAP_DESC GetDesc(); +} + [ uuid(696442be-a72e-4059-bc79-5b5c98040fad), object, -- 2.27.0