![]() |
Elevate Engine 1
|
Simple layer thats contains a single scene and take care of all loading/unloading update and rendering. This is a good starting point if your are looking to create your own scene logic. More...
#include <SceneLayer.h>
Public Member Functions | |
| SceneLayer (std::shared_ptr< Scene > scene) | |
| virtual void | OnDetach () override |
| virtual void | OnUpdate () override |
| virtual void | OnRender () override |
| void | OnRender (Camera *cam) |
| virtual void | OnEvent (Event &event) override |
Public Member Functions inherited from Elevate::Layer | |
| Layer (const std::string &name="Layer") | |
| virtual | ~Layer () |
| virtual void | OnAttach () |
| virtual void | OnImGuiRender () |
| const std::string & | GetName () const |
Protected Attributes | |
| std::shared_ptr< Scene > | m_scene |
Protected Attributes inherited from Elevate::Layer | |
| std::string | m_DebugName |
Simple layer thats contains a single scene and take care of all loading/unloading update and rendering. This is a good starting point if your are looking to create your own scene logic.
Definition at line 15 of file SceneLayer.h.
|
inline |
Definition at line 18 of file SceneLayer.h.
|
overridevirtual |
Reimplemented from Elevate::Layer.
Definition at line 8 of file SceneLayer.cpp.
|
overridevirtual |
Reimplemented from Elevate::Layer.
Definition at line 36 of file SceneLayer.cpp.
|
overridevirtual |
| void Elevate::SceneLayer::OnRender | ( | Camera * | cam | ) |
Definition at line 23 of file SceneLayer.cpp.
|
overridevirtual |
Reimplemented from Elevate::Layer.
Definition at line 13 of file SceneLayer.cpp.
|
protected |
Definition at line 30 of file SceneLayer.h.