CoriEngine
Loading...
Searching...
No Matches
ImGuiPresets.hpp File Reference
Include dependency graph for ImGuiPresets.hpp:

Go to the source code of this file.

Namespaces

namespace  Cori
 Global engine namespace.
namespace  Cori::ImGuiPresets
 Here are stored all predefined ImGui window presets, you can only use this functions in Layer OnImGuiRender method, using it anywhere else will result in a crash.

Functions

static void Cori::ImGuiPresets::Box2dDebugDraw (const glm::vec2 cameraSize, const glm::vec2 cameraPos, const int32_t pixelsPerMeter, Core::Layer *layer, const bool mouseDrag, const float mouseForce=1000.0f)
 Enables the debug draw of Box2D physics.
static void Cori::ImGuiPresets::ScreenModeAndResolutionDropdowns ()
 Displays a window mode and screen mode selection window.
static void Cori::ImGuiPresets::FpsCounter (const Core::GameTimer &timer)