Realtime Fractal Renderer Documentation
FractalGeometryRenderer Class Reference

The main class driving the FractalGeometryRenderer. More...

#include <FractalGeometryRenderer.hpp>

Collaboration diagram for FractalGeometryRenderer:
Collaboration graph

Public Member Functions

 FractalGeometryRenderer (uint32_t width, uint32_t height, float mouse_sensitivity, std::ostream &log)
 
void run (std::string scene_kernel_path, std::string build_options, size_t specified_work_group_size, std::ostream &data)
 Method to start the application. More...
 

Detailed Description

The main class driving the FractalGeometryRenderer.

Definition at line 25 of file FractalGeometryRenderer.hpp.

Constructor & Destructor Documentation

◆ FractalGeometryRenderer()

FractalGeometryRenderer ( uint32_t  width,
uint32_t  height,
float  mouse_sensitivity,
std::ostream &  log 
)
inline

Definition at line 38 of file FractalGeometryRenderer.hpp.

Member Function Documentation

◆ run()

void run ( std::string  scene_kernel_path,
std::string  build_options,
size_t  specified_work_group_size,
std::ostream &  data 
)
inline

Method to start the application.

Parameters
scene_kernel_pathA path relative to the current directory for the the scene .cl kernel file
build_optionsOptions to be passed to the OpenCL compiler. Check the OpenCL C++ wrapper documentation for a full list of options. If any additional include directories are required, then the build options should be edited to reflect this. If this is done, the kernels/include directory must also be added to the list of include directories
specified_work_group_sizeDesired group size when distrubuting work over the GPU

Definition at line 55 of file FractalGeometryRenderer.hpp.


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