VEX Engine
Retro looking game engine made in vulkan mostly because i wanted to understand it better.
Loading...
Searching...
No Matches
EditorProperties.hpp
1
6
7#pragma once
8
9#include <ImReflect.hpp>
10#include <nlohmann/json.hpp>
11
14 bool showFPS = false;
15 bool showCollisions = false;
16
17 float assetBrowserThumbnailSize = 64.0f;
18
19 float editorCameraFov = 90.0f;
20 float editorCameraRenderDistance = 1000.0f;
21
22 int frameLimit = 0;
23 bool vsync = false;
24
25 auto operator<=>(const EditorProperties&) const = default;
26};
27
28IMGUI_REFLECT(EditorProperties, showFPS, showCollisions, assetBrowserThumbnailSize, editorCameraFov, editorCameraRenderDistance, frameLimit, vsync);
29NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT(EditorProperties, showFPS, showCollisions, assetBrowserThumbnailSize, editorCameraFov, editorCameraRenderDistance, frameLimit, vsync);
Structure to hold all configurable editor settings and properties.