CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::RawGraphicsCommand Struct Referencefinal

#include <CeresEngine/Graphics/GraphicsCommandBuffer.hpp>

Public Types

using Command = std::function< void(GPUCommandBuffer &, const GraphicsState &)>
 A function type that represents the command to be called before rendering the .
 

Public Member Functions

 RawGraphicsCommand ()=default
 
 RawGraphicsCommand (const RawGraphicsCommand &)=default
 
RawGraphicsCommandoperator= (const RawGraphicsCommand &)=default
 
 RawGraphicsCommand (RawGraphicsCommand &&) noexcept=default
 
RawGraphicsCommandoperator= (RawGraphicsCommand &&) noexcept=default
 
 ~RawGraphicsCommand ()=default
 
template<typename Allocator >
 RawGraphicsCommand (std::allocator_arg_t, const Allocator &allocator)
 
 RawGraphicsCommand (AnyAllocatorReference allocator)
 
template<typename Allocator >
 RawGraphicsCommand (std::allocator_arg_t, const Allocator &allocator, const RawGraphicsCommand &other)
 
 RawGraphicsCommand (const RawGraphicsCommand &other, AnyAllocatorReference allocator)
 

Public Attributes

Command command
 A command that will be executed by the renderer every time when rendering a frame.
 

Member Typedef Documentation

◆ Command

A function type that represents the command to be called before rendering the .

Constructor & Destructor Documentation

◆ RawGraphicsCommand() [1/7]

CeresEngine::RawGraphicsCommand::RawGraphicsCommand ( )
default

◆ RawGraphicsCommand() [2/7]

CeresEngine::RawGraphicsCommand::RawGraphicsCommand ( const RawGraphicsCommand )
default

◆ RawGraphicsCommand() [3/7]

CeresEngine::RawGraphicsCommand::RawGraphicsCommand ( RawGraphicsCommand &&  )
defaultnoexcept

◆ ~RawGraphicsCommand()

CeresEngine::RawGraphicsCommand::~RawGraphicsCommand ( )
default

◆ RawGraphicsCommand() [4/7]

template<typename Allocator >
CeresEngine::RawGraphicsCommand::RawGraphicsCommand ( std::allocator_arg_t  ,
const Allocator &  allocator 
)
inlineexplicit

◆ RawGraphicsCommand() [5/7]

CeresEngine::RawGraphicsCommand::RawGraphicsCommand ( AnyAllocatorReference  allocator)
inlineexplicit

◆ RawGraphicsCommand() [6/7]

template<typename Allocator >
CeresEngine::RawGraphicsCommand::RawGraphicsCommand ( std::allocator_arg_t  ,
const Allocator &  allocator,
const RawGraphicsCommand other 
)
inlineexplicit

◆ RawGraphicsCommand() [7/7]

CeresEngine::RawGraphicsCommand::RawGraphicsCommand ( const RawGraphicsCommand other,
AnyAllocatorReference  allocator 
)
inlineexplicit

Member Function Documentation

◆ operator=() [1/2]

RawGraphicsCommand & CeresEngine::RawGraphicsCommand::operator= ( const RawGraphicsCommand )
default

◆ operator=() [2/2]

RawGraphicsCommand & CeresEngine::RawGraphicsCommand::operator= ( RawGraphicsCommand &&  )
defaultnoexcept

Member Data Documentation

◆ command

Command CeresEngine::RawGraphicsCommand::command

A command that will be executed by the renderer every time when rendering a frame.


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