diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2024-10-29 14:49:26 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-29 14:49:26 +0800 |
| commit | f65d756bff8d4c5cbc15bd0322a2ae8e6b896a21 (patch) | |
| tree | ea1d61342cd29368e19135000ec2948813096205 /tools/platform/gui.h | |
| parent | a729c15e9dce9f5116a38afc66329ab2ca4cea54 (diff) | |
format
* format
* Minor test fixes
* enable checking cpp format in ci
Diffstat (limited to 'tools/platform/gui.h')
| -rw-r--r-- | tools/platform/gui.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/tools/platform/gui.h b/tools/platform/gui.h index e3975f3ff..82193cb86 100644 --- a/tools/platform/gui.h +++ b/tools/platform/gui.h @@ -1,14 +1,15 @@ // gui.h #pragma once +#include "external/imgui/imgui.h" +#include "slang-com-ptr.h" #include "slang-gfx.h" +#include "source/core/slang-basic.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 platform { +namespace platform +{ struct GUI : Slang::RefObject { @@ -25,8 +26,8 @@ private: Slang::ComPtr<gfx::IDevice> device; Slang::ComPtr<gfx::ICommandQueue> queue; Slang::ComPtr<gfx::IRenderPassLayout> renderPass; - Slang::ComPtr<gfx::IPipelineState> pipelineState; - Slang::ComPtr<gfx::ISamplerState> samplerState; + Slang::ComPtr<gfx::IPipelineState> pipelineState; + Slang::ComPtr<gfx::ISamplerState> samplerState; }; -} // gfx +} // namespace platform |
