diff options
Diffstat (limited to 'tools/gfx/debug-layer/debug-query.h')
| -rw-r--r-- | tools/gfx/debug-layer/debug-query.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tools/gfx/debug-layer/debug-query.h b/tools/gfx/debug-layer/debug-query.h new file mode 100644 index 000000000..890745387 --- /dev/null +++ b/tools/gfx/debug-layer/debug-query.h @@ -0,0 +1,26 @@ +// debug-query.h +#pragma once +#include "debug-base.h" + +namespace gfx +{ +using namespace Slang; + +namespace debug +{ + +class DebugQueryPool : public DebugObject<IQueryPool> +{ +public: + SLANG_COM_OBJECT_IUNKNOWN_ALL; + + IQueryPool::Desc desc; +public: + IQueryPool* getInterface(const Slang::Guid& guid); + virtual SLANG_NO_THROW Result SLANG_MCALL + getResult(GfxIndex index, GfxCount count, uint64_t* data) override; + virtual SLANG_NO_THROW Result SLANG_MCALL reset() override; +}; + +} // namespace debug +} // namespace gfx |
