 |
Blamite Game Engine - blam!
00346.12.11.21.0529.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
3 #include "../../debug_ui.h"
16 bool show_another_window =
false;
17 bool show_test_window =
false;
27 return &show_test_window;
43 static float f = 0.0f;
58 BlamColor new_clear_color = BlamColor(clear_col_imgui.x * 255.0f, clear_col_imgui.y * 255.0f, clear_col_imgui.z * 255.0f, clear_col_imgui.w * 255.0f);
66 if (
ImGui::Button(
"Another Window")) show_another_window ^= 1;
73 if (show_another_window)
IMGUI_API bool ColorEdit3(const char *label, float col[3], ImGuiColorEditFlags flags=0)
Definition: imgui_widgets.cpp:4146
BLAM ImVec4 * GetClearColor()
Retrieves the current color used to clear the render target.
Definition: render_manage.cpp:613
bool * ShowTestWindow()
Retrieves whether or not the window should be drawn.
Definition: dx11_window.hpp:25
IMGUI_API bool Checkbox(const char *label, bool *v)
Definition: imgui_widgets.cpp:974
BLAM BlamRenderingEngine GetCurrentRenderingEngine()
Retrieves the current rendering engine being used.
Definition: rendering_abstraction.cpp:103
Class for the default ImGUI DX11 sample window.
Definition: dx11_window.hpp:13
IMGUI_API void End()
Definition: imgui.cpp:6016
BlamColor * clear_color
Definition: opengl.cpp:21
BLAM BlamColor * GetGlobalAsColor(std::string name)
Retrieves a global's value as a BlamColor.
Definition: globals.cpp:419
IMGUI_API bool Begin(const char *name, bool *p_open=NULL, ImGuiWindowFlags flags=0)
Definition: imgui.cpp:5397
IMGUI_API void Text(const char *fmt,...) IM_FMTARGS(1)
Definition: imgui_widgets.cpp:238
IMGUI_API ImGuiIO & GetIO()
Definition: imgui.cpp:3300
bool show
Controls whether or not the group should be shown. May not be used in all groups.
Definition: debug_ui.h:362
void Draw()
Draws the window, as well as the demo window and the "Another Window" if they are enabled.
Definition: dx11_window.hpp:33
Class representing an ImGUI drawing group/draw list item.
Definition: debug_ui.h:359
IMGUI_API void SetNextWindowSize(const ImVec2 &size, ImGuiCond cond=0)
Definition: imgui.cpp:6741
@ DirectX11
Definition: rendering.h:25
IMGUI_API void ShowDemoWindow(bool *p_open=NULL)
Definition: imgui_demo.cpp:195
IMGUI_API bool SliderFloat(const char *label, float *v, float v_min, float v_max, const char *format="%.3f", float power=1.0f)
Definition: imgui_widgets.cpp:2619
Legacy namespace to contain data for the legacy ImGUI console.
Definition: ui.h:14
BLAM bool * RenderTargetClearing()
Retrieves whether or not to enable render target clearing.
Definition: render_manage.cpp:608
#define duigvs(x)
Macro for Blam::DebugUI::GetVisibility().
Definition: debug_ui.h:19
IMGUI_API bool Button(const char *label, const ImVec2 &size=ImVec2(0, 0))
Definition: imgui_widgets.cpp:644
BLAM GvarUpdateResult UpdateGlobal(std::string name, std::string new_value)
Updates the value of a String global.
Definition: globals.cpp:578