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

#include <CeresEngine/Graphics/GraphicsCommandBuffer.hpp>

Public Member Functions

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

Public Attributes

Rect2 target = {0.0, 0.0, 1.0, 1.0}
 The area of the target texture to be cleared.
 
Color color = Color::zero
 The color to render the text with.
 

Constructor & Destructor Documentation

◆ ClearGraphicsCommand() [1/7]

CeresEngine::ClearGraphicsCommand::ClearGraphicsCommand ( )
default

◆ ClearGraphicsCommand() [2/7]

CeresEngine::ClearGraphicsCommand::ClearGraphicsCommand ( const ClearGraphicsCommand )
default

◆ ClearGraphicsCommand() [3/7]

CeresEngine::ClearGraphicsCommand::ClearGraphicsCommand ( ClearGraphicsCommand &&  )
defaultnoexcept

◆ ~ClearGraphicsCommand()

CeresEngine::ClearGraphicsCommand::~ClearGraphicsCommand ( )
default

◆ ClearGraphicsCommand() [4/7]

template<typename Allocator >
CeresEngine::ClearGraphicsCommand::ClearGraphicsCommand ( std::allocator_arg_t  ,
const Allocator &  allocator 
)
inline

◆ ClearGraphicsCommand() [5/7]

CeresEngine::ClearGraphicsCommand::ClearGraphicsCommand ( AnyAllocatorReference  allocator)
inlineexplicit

◆ ClearGraphicsCommand() [6/7]

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

◆ ClearGraphicsCommand() [7/7]

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ color

Color CeresEngine::ClearGraphicsCommand::color = Color::zero

The color to render the text with.

◆ target

Rect2 CeresEngine::ClearGraphicsCommand::target = {0.0, 0.0, 1.0, 1.0}

The area of the target texture to be cleared.

This will be used to determine the viewport area to be cleared.


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