PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
pixelbullet::ImGuiLayer Class Reference
Inheritance diagram for pixelbullet::ImGuiLayer:
pixelbullet::Layer pixelbullet::UiFrameLayer

Classes

struct  Impl

Public Member Functions

 ImGuiLayer (Window &window, Graphics &graphics)
 ImGuiLayer (Window &window, Graphics &graphics, std::filesystem::path settings_path)
virtual void OnAttach () override
virtual void OnDetach () override
virtual pixelbullet::core::EventResult OnEvent (pixelbullet::core::Event &e) override
bool BeginUiFrame () override
void CancelUiFrame () override
bool Begin ()
void CancelFrame ()
void End (const RenderFrameContext &frame_context)
ImTextureID GetRenderTargetTexture (std::string_view name)
void BlockEvents (bool block)
void SetAppearance (const ImGuiAppearanceConfig &appearance)
void SetTheme ()
void SetSettingsPath (std::filesystem::path settings_path)
void ClearSettings ()
void LoadSettingsFromDisk (const std::filesystem::path &settings_path)
void SaveSettings ()
void SaveSettingsToDisk (const std::filesystem::path &settings_path)
uint32_t GetActiveWidgetID () const
ImFont * GetMonospaceFont () const noexcept
Public Member Functions inherited from pixelbullet::Layer
 Layer (const std::string &name="layer")
virtual void OnUpdate (Duration ts)
virtual void OnUiFrame ()
virtual EventPhase GetEventPhase () const
const std::string & GetName () const

Friends

class pixelbullet::application_internal::ImGuiTextureIntegrationAccess

Additional Inherited Members

Protected Attributes inherited from pixelbullet::Layer
std::string debug_name_

Member Function Documentation

◆ BeginUiFrame()

bool pixelbullet::ImGuiLayer::BeginUiFrame ( )
overridevirtual

◆ CancelUiFrame()

void pixelbullet::ImGuiLayer::CancelUiFrame ( )
overridevirtual

◆ OnAttach()

void pixelbullet::ImGuiLayer::OnAttach ( )
overridevirtual

Reimplemented from pixelbullet::Layer.

◆ OnDetach()

void pixelbullet::ImGuiLayer::OnDetach ( )
overridevirtual

Reimplemented from pixelbullet::Layer.

◆ OnEvent()

pixelbullet::core::EventResult pixelbullet::ImGuiLayer::OnEvent ( pixelbullet::core::Event & e)
overridevirtual

Reimplemented from pixelbullet::Layer.


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