Castor3D 0.16.0
Multiplatform 3D engine
Public Types | Public Member Functions | List of all members
castor3d::GpuFunctorEvent Class Reference

#include <GpuFunctorEvent.hpp>

Inheritance diagram for castor3d::GpuFunctorEvent:
Inheritance graph
[legend]
Collaboration diagram for castor3d::GpuFunctorEvent:
Collaboration graph
[legend]

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 GpuFrameEventoperator= (GpuFrameEvent const &rhs)
 
C3D_API GpuFrameEventoperator= (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.
 

Member Typedef Documentation

◆ Functor

Constructor & Destructor Documentation

◆ GpuFunctorEvent()

castor3d::GpuFunctorEvent::GpuFunctorEvent ( GpuEventType type,
Functor functor )
inline

Constructor.

Parameters
[in]typeThe event type
[in]functorThe functor to execute

The documentation for this class was generated from the following file: