diff options
Diffstat (limited to 'tools/gfx/debug-layer/debug-transient-heap.h')
| -rw-r--r-- | tools/gfx/debug-layer/debug-transient-heap.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tools/gfx/debug-layer/debug-transient-heap.h b/tools/gfx/debug-layer/debug-transient-heap.h new file mode 100644 index 000000000..dd89d8a21 --- /dev/null +++ b/tools/gfx/debug-layer/debug-transient-heap.h @@ -0,0 +1,26 @@ +// debug-transient-heap.h +#pragma once +#include "debug-base.h" + +namespace gfx +{ +using namespace Slang; + +namespace debug +{ + +class DebugTransientResourceHeap : public DebugObject<ITransientResourceHeap> +{ +public: + SLANG_COM_OBJECT_IUNKNOWN_ALL; + +public: + ITransientResourceHeap* getInterface(const Slang::Guid& guid); + virtual SLANG_NO_THROW Result SLANG_MCALL synchronizeAndReset() override; + virtual SLANG_NO_THROW Result SLANG_MCALL finish() override; + virtual SLANG_NO_THROW Result SLANG_MCALL + createCommandBuffer(ICommandBuffer** outCommandBuffer) override; +}; + +} // namespace debug +} // namespace gfx |
