![]() |
Castor3D 0.12.0
Multiplatform 3D engine
|
#include <CpuFunctorEvent.hpp>


Public Types | |
| using | Functor = std::function< void() > |
Public Member Functions | |
| CpuFunctorEvent (EventType type, Functor functor) | |
| Constructor. More... | |
Public Member Functions inherited from castor3d::CpuFrameEvent | |
| C3D_API | CpuFrameEvent (CpuFrameEvent const &rhs) |
| C3D_API | CpuFrameEvent (CpuFrameEvent &&rhs) |
| C3D_API CpuFrameEvent & | operator= (CpuFrameEvent const &rhs) |
| C3D_API CpuFrameEvent & | operator= (CpuFrameEvent &&rhs) |
| C3D_API | CpuFrameEvent (EventType type) |
| Constructor. More... | |
| virtual C3D_API | ~CpuFrameEvent ()=default |
| Destructor. More... | |
| void | apply () |
| Applies the event. More... | |
| EventType | getType () const |
| void | skip () |
| Sets the event to be skipped. More... | |
| using castor3d::CpuFunctorEvent::Functor = std::function< void() > |
Constructor.
| [in] | type | The event type |
| [in] | functor | The functor to execute |