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


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