Vesper 0.5.1
Vesper is short form for the Latin word for "Bat", as Vesper is designed to be small, lightweight, and easily handle things like particles and flocking behaviors in accordance with the nature of bats. \n It is meant to be a particle simulation, VFX editor, and CAN be used secondarily as a small game engine.
GitHub | Vesper Updates | Creator
Loading...
Searching...
No Matches
Vesper::OpenGLImGuiLayer Class Reference

#include <OpenGLImGuiLayer.h>

Inheritance diagram for Vesper::OpenGLImGuiLayer:
Vesper::ImGuiLayer Vesper::Layer

Public Member Functions

 OpenGLImGuiLayer ()
 ~OpenGLImGuiLayer ()
virtual void OnAttach () override
 Called when the layer is attached to the application.
virtual void OnDetach () override
 Called when the layer is detached from the application.
virtual void OnImGuiRender () override
 Called when the layer should render its ImGui components.
virtual void OnEvent (Event &e) override
 Called when an event is dispatched to the layer.
virtual void Begin () override
virtual void End () override
virtual void SetBlockEvents (bool block)
virtual void SetDarkThemeColors () override
Public Member Functions inherited from Vesper::ImGuiLayer
 ImGuiLayer ()
 ~ImGuiLayer ()
Public Member Functions inherited from Vesper::Layer
 Layer (const std::string &name="Layer")
 Constructs a Layer with an optional name for debugging purposes.
virtual ~Layer ()
virtual void OnUpdate (Timestep ts)
 Called every frame to update the layer with the given timestep.
virtual void OnRender ()
 Called when the layer should render its contents.
const std::string & GetName () const
 Retrieves the name of the layer for debugging purposes.

Additional Inherited Members

Protected Attributes inherited from Vesper::ImGuiLayer
bool m_BlockEvents = true
float m_Time = 0.0f
Protected Attributes inherited from Vesper::Layer
std::string m_DebugName
 The name of the layer assigned at creation, used for debugging.

Constructor & Destructor Documentation

◆ OpenGLImGuiLayer()

Vesper::OpenGLImGuiLayer::OpenGLImGuiLayer ( )
20 : ImGuiLayer()
21 {
22 }
ImGuiLayer()
Definition ImGuiLayer.cpp:21

References Vesper::ImGuiLayer::ImGuiLayer().

◆ ~OpenGLImGuiLayer()

Vesper::OpenGLImGuiLayer::~OpenGLImGuiLayer ( )
25 {
26 }

Member Function Documentation

◆ Begin()

void Vesper::OpenGLImGuiLayer::Begin ( )
overridevirtual

Reimplemented from Vesper::ImGuiLayer.

59 {
61 }
virtual void Begin()
Definition ImGuiLayer.cpp:95

References Vesper::ImGuiLayer::Begin().

◆ End()

void Vesper::OpenGLImGuiLayer::End ( )
overridevirtual

Reimplemented from Vesper::ImGuiLayer.

64 {
66 }
virtual void End()
Definition ImGuiLayer.cpp:104

References Vesper::ImGuiLayer::End().

◆ OnAttach()

void Vesper::OpenGLImGuiLayer::OnAttach ( )
overridevirtual

Called when the layer is attached to the application.

Reimplemented from Vesper::ImGuiLayer.

29 {
31
32
33
34 }
virtual void OnAttach() override
Called when the layer is attached to the application.
Definition ImGuiLayer.cpp:29

References Vesper::ImGuiLayer::OnAttach().

◆ OnDetach()

void Vesper::OpenGLImGuiLayer::OnDetach ( )
overridevirtual

Called when the layer is detached from the application.

Reimplemented from Vesper::ImGuiLayer.

37 {
39
40
41
42 }
virtual void OnDetach() override
Called when the layer is detached from the application.
Definition ImGuiLayer.cpp:69

References Vesper::ImGuiLayer::OnDetach().

◆ OnEvent()

void Vesper::OpenGLImGuiLayer::OnEvent ( Event & event)
overridevirtual

Called when an event is dispatched to the layer.

Parameters
eventThe event being dispatched.

Reimplemented from Vesper::ImGuiLayer.

52 {
54
55
56 }
virtual void OnEvent(Event &e) override
Called when an event is dispatched to the layer.
Definition ImGuiLayer.cpp:86

References Vesper::ImGuiLayer::OnEvent().

◆ OnImGuiRender()

void Vesper::OpenGLImGuiLayer::OnImGuiRender ( )
overridevirtual

Called when the layer should render its ImGui components.

Reimplemented from Vesper::ImGuiLayer.

45 {
47
48
49 }
virtual void OnImGuiRender() override
Called when the layer should render its ImGui components.
Definition ImGuiLayer.cpp:81

References Vesper::ImGuiLayer::OnImGuiRender().

◆ SetBlockEvents()

virtual void Vesper::OpenGLImGuiLayer::SetBlockEvents ( bool block)
inlinevirtual

Reimplemented from Vesper::ImGuiLayer.

27{ m_BlockEvents = block; }
bool m_BlockEvents
Definition ImGuiLayer.h:29

References Vesper::ImGuiLayer::m_BlockEvents.

◆ SetDarkThemeColors()

void Vesper::OpenGLImGuiLayer::SetDarkThemeColors ( )
overridevirtual

Reimplemented from Vesper::ImGuiLayer.

69 {
71 }
virtual void SetDarkThemeColors()
Definition ImGuiLayer.cpp:120

References Vesper::ImGuiLayer::SetDarkThemeColors().


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