summaryrefslogtreecommitdiff
path: root/tools/graphics-app-framework/gui.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-03-08 10:01:20 -0800
committerGitHub <noreply@github.com>2021-03-08 10:01:20 -0800
commitfc9968dc4fd58fab37476f48e4405c2743c5349c (patch)
tree6119b293a5a5cc24401dde5ff54287beb28fe63b /tools/graphics-app-framework/gui.h
parent95ca93938f5d45f4eaf340867965bd77a1724d6c (diff)
Refactor window library. (#1739)
* Refactor window library. * Fix project file * Fix warnings.
Diffstat (limited to 'tools/graphics-app-framework/gui.h')
-rw-r--r--tools/graphics-app-framework/gui.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/tools/graphics-app-framework/gui.h b/tools/graphics-app-framework/gui.h
deleted file mode 100644
index 680cea14b..000000000
--- a/tools/graphics-app-framework/gui.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// gui.h
-#pragma once
-
-#include "slang-gfx.h"
-#include "vector-math.h"
-#include "window.h"
-#include "slang-com-ptr.h"
-#include "external/imgui/imgui.h"
-#include "source/core/slang-basic.h"
-
-namespace gfx {
-
-struct GUI : Slang::RefObject
-{
- GUI(Window* window, IRenderer* renderer, ICommandQueue* queue, IFramebufferLayout* framebufferLayout);
- ~GUI();
-
- void beginFrame();
- void endFrame(IFramebuffer* framebuffer);
-
-private:
- Slang::ComPtr<IRenderer> renderer;
- Slang::ComPtr<ICommandQueue> queue;
- Slang::ComPtr<IRenderPassLayout> renderPass;
- Slang::ComPtr<IPipelineState> pipelineState;
- Slang::ComPtr<IDescriptorSetLayout> descriptorSetLayout;
- Slang::ComPtr<IPipelineLayout> pipelineLayout;
- Slang::ComPtr<ISamplerState> samplerState;
-};
-
-} // gfx