CG-Project2
Loading...
Searching...
No Matches
CustomLayer Class Reference
Inheritance diagram for CustomLayer:
Collaboration diagram for CustomLayer:

Public Member Functions

virtual void onAttach () override
virtual void onDetach () override
virtual void onUpdate () override
void setRunnig (const bool &run)
void setUpdateFun (std::function< void()> &&fun)
Public Member Functions inherited from ogl::Layer
 Layer (const std::string &name)
 Layer (const Layer &other)=delete
virtual void onRender ()
virtual void begin ()
virtual void end ()
std::string getName () const
bool isAttached () const

Additional Inherited Members

Protected Attributes inherited from ogl::Layer
std::string m_name {"Layer"}
bool m_attached = false

Member Function Documentation

◆ onAttach()

virtual void CustomLayer::onAttach ( )
inlineoverridevirtual

Reimplemented from ogl::Layer.

◆ onDetach()

virtual void CustomLayer::onDetach ( )
inlineoverridevirtual

Reimplemented from ogl::Layer.

◆ onUpdate()

virtual void CustomLayer::onUpdate ( )
inlineoverridevirtual

Reimplemented from ogl::Layer.


The documentation for this class was generated from the following file:
  • App/src/State/NormalViewState.cpp