ttx 0.1.0
Loading...
Searching...
No Matches
ttx::RenderThread Class Reference

#include </home/runner/work/ttx/ttx/src/render.h>

Public Member Functions

 RenderThread (di::Synchronized< LayoutState > &layout_state, di::Function< void()> did_exit)
 
 ~RenderThread ()
 
void push_event (RenderEvent event)
 
void request_render ()
 
void request_exit ()
 

Static Public Member Functions

static auto create (di::Synchronized< LayoutState > &layout_state, di::Function< void()> did_exit) -> di::Result< di::Box< RenderThread > >
 

Constructor & Destructor Documentation

◆ RenderThread()

ttx::RenderThread::RenderThread ( di::Synchronized< LayoutState > & layout_state,
di::Function< void()> did_exit )
explicit

◆ ~RenderThread()

ttx::RenderThread::~RenderThread ( )

Member Function Documentation

◆ create()

auto ttx::RenderThread::create ( di::Synchronized< LayoutState > & layout_state,
di::Function< void()> did_exit ) -> di::Result<di::Box<RenderThread>>
static

◆ push_event()

void ttx::RenderThread::push_event ( RenderEvent event)

◆ request_exit()

void ttx::RenderThread::request_exit ( )
inline

◆ request_render()

void ttx::RenderThread::request_render ( )
inline

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