MobileRT  1.0
A multi platform C++ CPU progressive Ray Tracer.
C_wrapper.cpp File Reference
Include dependency graph for C_wrapper.cpp:

Functions

static void work_thread (::MobileRT::Config &config)
 
void stopRender ()
 
void RayTrace (::MobileRT::Config &config, const bool async)
 

Variables

static ::std::unique_ptr<::MobileRT::Rendererrenderer_ {}
 

Function Documentation

◆ RayTrace()

void RayTrace ( ::MobileRT::Config config,
const bool  async 
)

Helper method that starts the Ray Tracer engine.

Parameters
configThe MobileRT configurator.
asyncWhether the Ray Tracer should render the image asynchronously or synchronously.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ stopRender()

void stopRender ( )

Helper method that stops the Ray Tracing process.

Here is the caller graph for this function:

◆ work_thread()

static void work_thread ( ::MobileRT::Config config)
static

Helper method that starts the Ray Tracer engine.

Parameters
configThe MobileRT configurator.
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ renderer_

::std::unique_ptr<::MobileRT::Renderer> renderer_ {}