![]() |
Castor3D 0.12.0
Multiplatform 3D engine
|
#include <GpuFrameEvent.hpp>
Public Member Functions | |
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... | |
C3D_API castor3d::GpuFrameEvent::GpuFrameEvent | ( | GpuFrameEvent const & | rhs | ) |
C3D_API castor3d::GpuFrameEvent::GpuFrameEvent | ( | GpuFrameEvent && | rhs | ) |
Constructor.
[in] | type | The event type. |
|
virtualdefault |
Destructor.
|
inline |
Applies the event.
[in] | device | The GPU device. |
[in] | queueData | The queue receiving the GPU commands. |
|
inline |
C3D_API GpuFrameEvent & castor3d::GpuFrameEvent::operator= | ( | GpuFrameEvent && | rhs | ) |
C3D_API GpuFrameEvent & castor3d::GpuFrameEvent::operator= | ( | GpuFrameEvent const & | rhs | ) |
|
inline |
Sets the event to be skipped.