yum-mirror/slang

Making it easier to work with shaders

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

Ellie Hermaszewskaformatf65d756bf

master
730 B28 linesraw
1// debug-fence.h
2#pragma once
3#include "debug-base.h"
4
5namespace gfx
6{
7using namespace Slang;
8
9namespace debug
10{
11
12class DebugFence : public DebugObject<IFence>
13{
14public:
15    SLANG_COM_OBJECT_IUNKNOWN_ALL;
16    IFence* getInterface(const Slang::Guid& guid);
17    virtual SLANG_NO_THROW Result SLANG_MCALL getCurrentValue(uint64_t* outValue) override;
18    virtual SLANG_NO_THROW Result SLANG_MCALL setCurrentValue(uint64_t value) override;
19    virtual SLANG_NO_THROW Result SLANG_MCALL getSharedHandle(InteropHandle* outHandle) override;
20    virtual SLANG_NO_THROW Result SLANG_MCALL
21    getNativeHandle(InteropHandle* outNativeHandle) override;
22
23public:
24    uint64_t maxValueToSignal = 0;
25};
26
27} // namespace debug
28} // namespace gfx