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


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