yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

Ellie Hermaszewskaformatf65d756bf

master
531 B27 linesraw
1// debug-query.h
2#pragma once
3#include "debug-base.h"
4
5namespace gfx
6{
7using namespace Slang;
8
9namespace debug
10{
11
12class DebugQueryPool : public DebugObject<IQueryPool>
13{
14public:
15    SLANG_COM_OBJECT_IUNKNOWN_ALL;
16
17    IQueryPool::Desc desc;
18
19public:
20    IQueryPool* getInterface(const Slang::Guid& guid);
21    virtual SLANG_NO_THROW Result SLANG_MCALL
22    getResult(GfxIndex index, GfxCount count, uint64_t* data) override;
23    virtual SLANG_NO_THROW Result SLANG_MCALL reset() override;
24};
25
26} // namespace debug
27} // namespace gfx