tec::RenderSystem

#include <render-system.hpp>

Inherits from tec::CommandQueue< RenderSystem >, tec::EventQueue< WindowResizedEvent >, tec::EventQueue< EntityDestroyed >, tec::EventQueue< EntityCreated >

Public Functions

Name
void Startup()
void RegisterConsole(Console & console)
void SetViewportSize(const glm::uvec2 & view_size)
void Update(const double delta)
bool HasExtension(const std::string & x) const
void ErrorCheck(const std::string_view what, size_t line, const std::string_view where ="RenderSystem", bool severe =false)

Additional inherited members

Public Functions inherited from tec::CommandQueue< RenderSystem >

Name
CommandQueue()
~CommandQueue()
void ProcessCommandQueue()
void QueueCommand(Command< T > && command)
void QueueCommand(std::function< void(T *)> && command)

Protected Attributes inherited from tec::CommandQueue< RenderSystem >

Name
std::atomic< std::queue< Command< T > > * > global_command_queue
std::queue< Command< T > > * local_queue

Public Functions inherited from tec::EventQueue< WindowResizedEvent >

Name
EventQueue()
EventQueue(eid entity_id)
virtual ~EventQueue()
void ProcessEventQueue()
void QueueEvent(Event< T > && e)

Protected Attributes inherited from tec::EventQueue< WindowResizedEvent >

Name
Queue< Event< T > > * read_event_queue
std::atomic< Queue< Event< T > > * > write_event_queue

Public Functions inherited from tec::EventQueue< EntityDestroyed >

Name
EventQueue()
EventQueue(eid entity_id)
virtual ~EventQueue()
void ProcessEventQueue()
void QueueEvent(Event< T > && e)

Protected Attributes inherited from tec::EventQueue< EntityDestroyed >

Name
Queue< Event< T > > * read_event_queue
std::atomic< Queue< Event< T > > * > write_event_queue

Public Functions inherited from tec::EventQueue< EntityCreated >

Name
EventQueue()
EventQueue(eid entity_id)
virtual ~EventQueue()
void ProcessEventQueue()
void QueueEvent(Event< T > && e)

Protected Attributes inherited from tec::EventQueue< EntityCreated >

Name
Queue< Event< T > > * read_event_queue
std::atomic< Queue< Event< T > > * > write_event_queue

Public Functions Documentation

function Startup

void Startup()

function RegisterConsole

void RegisterConsole(
    Console & console
)

function SetViewportSize

void SetViewportSize(
    const glm::uvec2 & view_size
)

function Update

void Update(
    const double delta
)

function HasExtension

inline bool HasExtension(
    const std::string & x
) const

function ErrorCheck

static void ErrorCheck(
    const std::string_view what,
    size_t line,
    const std::string_view where ="RenderSystem",
    bool severe =false
)

Updated on 2022-07-24 at 19:27:35 +0000