Nebula
Loading...
Searching...
No Matches
imguicontext.cc File Reference
#include "render/stdneb.h"
#include "imguicontext.h"
#include "graphics/graphicsserver.h"
#include "resources/resourceserver.h"
#include "math/rectangle.h"
#include "coregraphics/shaderserver.h"
#include "coregraphics/displaydevice.h"
#include "coregraphics/graphicsdevice.h"
#include "input/inputserver.h"
#include "io/ioserver.h"
#include "frame/framesubgraph.h"
#include "core/cvar.h"
#include "appgame/gameapplication.h"
#include "imgui_internal.h"
#include "frame/default.h"
#include "gpulang/dynui/imgui/shaders/imgui.h"
#include "imguidisplayeventhandler.h"

Classes

struct  Dynui::ImguiState
struct  Dynui::ImGuiSecondaryWindowData
struct  Dynui::ImGuiWindowHandle

Namespaces

namespace  Dynui
 Imgui Profiler UI.

Functions

void Dynui::ImguiDrawFunction (const CoreGraphics::CmdBufferId cmdBuf, const Math::rectangle< int > &viewport, ImDrawData *data)
 Imgui rendering function.
 Dynui::__ImplementPluginContext (ImguiContext)
Ids::Id32 Dynui::AllocateImguiTextureId (const ImguiTextureId &data)
 Allocate imgui texture.
void Dynui::SetImguiTextureIdData (Ids::Id32 id, const ImguiTextureId &data)
 Set imgui texture data.
void Dynui::DeallocateImguiTextureId (Ids::Id32 id)
 Deallocate imgui texture.
void Dynui::ImGuiCloseButton (bool &toggle, int id)
 Helper function to recreate the ImGUI close button used for windows and tabs.
bool Dynui::ImGuiToggleButton (const char *label, bool toggle)
 Helper function for toggle buttons.

Variables

Util::Array< Util::StringDynui::ImguiDragAndDropFiles
const char * Dynui::EditorUIPath = "user:nebula/editor/editorui.ini"
ImGuiKey Dynui::NebulaToImguiKeyCodes []
Ids::IdAllocator< ImguiTextureIdDynui::ImguiTextureIdAllocator (0xFFF)
struct Dynui::ImguiState Dynui::state
IndexT Dynui::VertexBufferOffset = 0
IndexT Dynui::IndexBufferOffset = 0
IndexT Dynui::VertexOffset = 0
IndexT Dynui::IndexOffset = 0
IndexT Dynui::PrimitiveIndexOffset = 0
SizeT Dynui::TotalVerticesThisFrame = 0
SizeT Dynui::TotalIndicesThisFrame = 0
static Core::CVarDynui::ui_opacity
ImFont * Dynui::ImguiFont
ImFont * Dynui::ImguiBoldFont
ImFont * Dynui::ImguiItFont
ImFont * Dynui::ImguiIconFont