Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::GFX::Command< EnumVal > Struct Template Reference

#include <Commands.h>

+ Inheritance diagram for Divide::GFX::Command< EnumVal >:

Public Member Functions

 Command ()
 
virtual void addToBuffer (CommandBuffer *buffer) const final
 
- Public Member Functions inherited from Divide::GFX::CommandBase
 CommandBase (CommandType type)
 
 CommandBase (const CommandBase &)=default
 
CommandBaseoperator= (const CommandBase &)=default
 
virtual ~CommandBase ()=default
 
template<typename T >
requires std::is_base_of_v<CommandBase, T>
FORCE_INLINE T * As ()
 
virtual void addToBuffer (CommandBuffer *buffer) const =0
 
 PROPERTY_R (CommandType, type)
 

Static Public Attributes

static constexpr CommandType EType = EnumVal
 

Protected Member Functions

virtual void DeleteCmd (CommandBase *&cmd) const final
 
virtual void DeleteCmd (CommandBase *&cmd) const =0
 

Detailed Description

template<CommandType EnumVal>
struct Divide::GFX::Command< EnumVal >

Definition at line 72 of file Commands.h.

Constructor & Destructor Documentation

◆ Command()

template<CommandType EnumVal>
Divide::GFX::Command< EnumVal >::Command ( )
inline

Definition at line 76 of file Commands.h.

Member Function Documentation

◆ addToBuffer()

template<CommandType EnumVal>
void Divide::GFX::Command< EnumVal >::addToBuffer ( CommandBuffer buffer) const
finalvirtual

Implements Divide::GFX::CommandBase.

Definition at line 57 of file Commands.inl.

◆ DeleteCmd()

template<CommandType EnumVal>
void Divide::GFX::Command< EnumVal >::DeleteCmd ( CommandBase *&  cmd) const
finalprotectedvirtual

Implements Divide::GFX::CommandBase.

Definition at line 64 of file Commands.inl.

Member Data Documentation

◆ EType

template<CommandType EnumVal>
constexpr CommandType Divide::GFX::Command< EnumVal >::EType = EnumVal
staticconstexpr

Definition at line 74 of file Commands.h.


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