Elevate Engine 1
Loading...
Searching...
No Matches
Elevate::Layer Class Reference

#include <Layer.h>

Inheritance diagram for Elevate::Layer:
Elevate::ImGuiLayer Elevate::SceneLayer

Public Member Functions

 Layer (const std::string &name="Layer")
 
virtual ~Layer ()
 
virtual void OnAttach ()
 
virtual void OnDetach ()
 
virtual void OnUpdate ()
 
virtual void OnRender ()
 
virtual void OnImGuiRender ()
 
virtual void OnEvent (Event &event)
 
const std::string & GetName () const
 

Protected Attributes

std::string m_DebugName
 

Detailed Description

Definition at line 9 of file Layer.h.

Constructor & Destructor Documentation

◆ Layer()

Elevate::Layer::Layer ( const std::string &  name = "Layer")

Definition at line 5 of file Layer.cpp.

6 : m_DebugName(debugName) { }
std::string m_DebugName
Definition Layer.h:25

◆ ~Layer()

Elevate::Layer::~Layer ( )
virtual

Definition at line 8 of file Layer.cpp.

8{ }

Member Function Documentation

◆ GetName()

const std::string & Elevate::Layer::GetName ( ) const
inline

Definition at line 22 of file Layer.h.

22{ return m_DebugName; }

◆ OnAttach()

virtual void Elevate::Layer::OnAttach ( )
inlinevirtual

Reimplemented in Elevate::ImGuiLayer.

Definition at line 15 of file Layer.h.

15{}

◆ OnDetach()

virtual void Elevate::Layer::OnDetach ( )
inlinevirtual

Reimplemented in Elevate::ImGuiLayer, and Elevate::SceneLayer.

Definition at line 16 of file Layer.h.

16{}

◆ OnEvent()

virtual void Elevate::Layer::OnEvent ( Event event)
inlinevirtual

Reimplemented in Elevate::SceneLayer.

Definition at line 20 of file Layer.h.

20{}

◆ OnImGuiRender()

virtual void Elevate::Layer::OnImGuiRender ( )
inlinevirtual

Reimplemented in Elevate::ImGuiLayer.

Definition at line 19 of file Layer.h.

19{}

◆ OnRender()

virtual void Elevate::Layer::OnRender ( )
inlinevirtual

Reimplemented in Elevate::SceneLayer.

Definition at line 18 of file Layer.h.

18{}

◆ OnUpdate()

virtual void Elevate::Layer::OnUpdate ( )
inlinevirtual

Reimplemented in Elevate::SceneLayer.

Definition at line 17 of file Layer.h.

17{}

Member Data Documentation

◆ m_DebugName

std::string Elevate::Layer::m_DebugName
protected

Definition at line 25 of file Layer.h.


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