Fermat
Public Types | Public Methods | Static Public Methods | Public Members | List of all members
PathTracer Struct Reference

Detailed description

Path tracer

#include <pathtracer.h>

Inheritance diagram for PathTracer:
RendererInterface

Public Types

typedef AdaptiveClusteredRLStorage VTLRLStorage
 

Public Methods

void init (int argc, char **argv, RenderingContext &renderer)
 
void render (const uint32 instance, RenderingContext &renderer)
 
void setup_samples (const uint32 instance)
 
void keyboard (unsigned char character, int x, int y, bool &invalidate)
 
void destroy ()
 
void dump_speed_stats (FILE *stats)
 
void update_vtls_rl (const uint32 instance)
 
- Public Methods inherited from RendererInterface
virtual uint32 auxiliary_channel_count ()
 
virtual void register_auxiliary_channels (FBufferStorage &fbuffer, const uint32 channel_offset)
 
virtual void update_scene (RenderingContext &renderer)
 
virtual void mouse (RenderingContext &renderer, int button, int state, int x, int y)
 
virtual void draw (RenderingContext &renderer)
 

Static Public Methods

static RendererInterfacefactory ()
 

Public Members

DomainBuffer< CUDA_BUFFER, uint8 > m_memory_pool
 
PTOptions m_options
 
TiledSequence m_sequence
 
cugar::LFSRGeneratorMatrix m_generator
 
cugar::LFSRRandomStream m_random
 
MeshVTLStoragem_mesh_vtls
 
VTLRLStoragem_vtls_rl
 
cugar::Bbox3f m_bbox
 
float m_time
 
uint32 m_pathtracer_raygen
 
PTStats m_stats
 

Member Function Documentation

◆ destroy()

void PathTracer::destroy ( )
inlinevirtual

this method is responsible for destroying the object itself

Reimplemented from RendererInterface.


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