raytracer
Parallel Ray Tracer written from scratch (no graphics API).
Loading...
Searching...
No Matches
raytracer::mandelbrot::Renderer Class Reference

#include <renderer.h>

Static Public Member Functions

static common::Image render (const MandelbrotSceneConfig &scene, std::ostream &out=common::get_nullout(), int number_of_threads=static_cast< int >(std::max(1U, std::thread::hardware_concurrency())))

Member Function Documentation

◆ render()

common::Image raytracer::mandelbrot::Renderer::render ( const MandelbrotSceneConfig & scene,
std::ostream & out = common::get_nullout(),
int number_of_threads = static_cast<int>(std::max(1U, std::thread::hardware_concurrency())) )
static

Render the Mandelbrot set to an image given a configuration.

Parameters
sceneThe object containing the details of the scene.
outThe std::ostream to which to write rendering progress updates (defaults to none).
number_of_threadsThe number of parallel threads used for rendering.
Returns
The rendered image.
Here is the call graph for this function:
Here is the caller graph for this function:

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