diff options
| author | Yong He <yonghe@outlook.com> | 2021-01-06 12:58:57 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-06 12:58:57 -0800 |
| commit | 92636513abe72d2da0c45f0e2c1235415e0671c3 (patch) | |
| tree | 234136e9d89006df9d6775e8bcd07e91ae344af7 /tools/gfx/gui.h | |
| parent | 706d4f91e269d473c963d31792fb2c8320933c9b (diff) | |
Refactor GUI/Window utils out of gfx library (#1649)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx/gui.h')
| -rw-r--r-- | tools/gfx/gui.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/tools/gfx/gui.h b/tools/gfx/gui.h deleted file mode 100644 index cbec5796f..000000000 --- a/tools/gfx/gui.h +++ /dev/null @@ -1,28 +0,0 @@ -// gui.h -#pragma once - -#include "render.h" -#include "vector-math.h" -#include "window.h" - -#include "external/imgui/imgui.h" - -namespace gfx { - -struct GUI : RefObject -{ - GUI(Window* window, Renderer* renderer); - ~GUI(); - - void beginFrame(); - void endFrame(); - -private: - RefPtr<Renderer> renderer; - RefPtr<PipelineState> pipelineState; - RefPtr<DescriptorSetLayout> descriptorSetLayout; - RefPtr<PipelineLayout> pipelineLayout; - RefPtr<SamplerState> samplerState; -}; - -} // gfx |
