PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
pixelbullet::ImGuiLayer::Impl Struct Reference

Public Member Functions

 Impl (Window &window_in, Graphics &graphics_in)
 Impl (Window &window_in, Graphics &graphics_in, std::filesystem::path settings_path_in)
void OnAttach ()
void OnDetach ()
pixelbullet::core::EventResult OnEvent (pixelbullet::core::Event &event)
bool BeginUiFrame ()
void CancelUiFrame ()
bool Begin ()
void CancelFrame ()
void End (const RenderFrameContext &frame_context)
ImTextureID GetTexture (const std::shared_ptr< void > &texture)
ImTextureID GetRenderTargetTexture (std::string_view name)
void SetAppearance (const ImGuiAppearanceConfig &appearance)
void SetTheme ()
void SetSettingsPath (std::filesystem::path settings_path_in)
void ClearSettings ()
void LoadSettingsFromDisk (const std::filesystem::path &settings_path_in)
void SaveSettings ()
void SaveSettingsToDisk (const std::filesystem::path &settings_path_in)
uint32_t GetActiveWidgetID () const
ImFont * GetMonospaceFont () const noexcept
void BlockEvents (bool block) noexcept
void ApplyAppearance (const ImGuiAppearanceConfig &appearance)
void ApplySettingsPath ()
void RestoreMainViewportPlatformHandles ()
RenderDeviceGetRenderDevice () const

Public Attributes

bool block_events = true
Windowwindow
Graphicsgraphics
bool frame_started = false
bool appearance_dirty = false
std::unique_ptr< pixelbullet::application_internal::ImGuiLayerRuntimeBackendruntime
std::unique_ptr< pixelbullet::application_internal::ImGuiPlatformBackendplatform_backend
ImGuiAppearanceConfig appearance_config {}
ImFont * default_font = nullptr
ImFont * mono_font = nullptr
std::array< ImWchar, 3 > icon_font_ranges {}
std::array< ImWchar, 3 > icon_font_exclude_ranges {}
std::filesystem::path settings_path
std::string settings_filename

The documentation for this struct was generated from the following files: