Castor3D 0.16.0
Multiplatform 3D engine
|
#include <CpuFunctorEvent.hpp>
Public Types | |
using | Functor = castor::Function< void() > |
Public Member Functions | |
CpuFunctorEvent (CpuEventType type, Functor functor) | |
Constructor. | |
Public Member Functions inherited from castor3d::CpuFrameEvent | |
C3D_API | CpuFrameEvent (CpuFrameEvent const &rhs) |
C3D_API | CpuFrameEvent (CpuFrameEvent &&rhs) noexcept |
C3D_API CpuFrameEvent & | operator= (CpuFrameEvent const &rhs) |
C3D_API CpuFrameEvent & | operator= (CpuFrameEvent &&rhs) noexcept |
C3D_API | CpuFrameEvent (CpuEventType type) |
Constructor. | |
virtual C3D_API | ~CpuFrameEvent () noexcept=default |
Destructor. | |
void | apply () |
Applies the event. | |
CpuEventType | getType () const |
void | skip () |
Sets the event to be skipped. | |
using castor3d::CpuFunctorEvent::Functor = castor::Function< void() > |
|
inline |
Constructor.
[in] | type | The event type |
[in] | functor | The functor to execute |