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