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

Public Member Functions

 ImGuiLayer (Window &window, Graphics &graphics)
 
virtual void OnAttach () override
 
virtual void OnDetach () override
 
virtual EventResult OnEvent (Event &e) override
 
bool BeginUiFrame () override
 
void CancelUiFrame () override
 
bool Begin ()
 
void CancelFrame ()
 
void End (VkCommandBuffer commandBuffer)
 
ImTextureID GetRenderTargetTexture (std::string_view name)
 
void BlockEvents (bool block)
 
void SetTheme ()
 
uint32_t GetActiveWidgetID () const
 
- Public Member Functions inherited from pixelbullet::Layer
 Layer (const std::string &name="layer")
 
virtual void OnUpdate (Duration ts)
 
virtual void OnImGuiRender ()
 
virtual EventPhase GetEventPhase () const
 
const std::string & GetName () const
 
- Public Member Functions inherited from pixelbullet::UiFrameLayer

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()

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

Reimplemented from pixelbullet::Layer.


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