Fermat
Public Methods | Public Members | List of all members
PTContextQueues Struct Reference

Detailed description

A class encapsulating all the queues needed by the PTLib module wavefront scheduler kernels, and defining the basic TPTContext trace methods

#include <pathtracer_kernels.h>

Public Methods

template<typename TPTVertexProcessor >
FERMAT_DEVICE void trace_ray (TPTVertexProcessor &_vertex_processor, RenderingContextView &_renderer, const PixelInfo _pixel, const MaskedRay _ray, const cugar::Vector4f _weight, const cugar::Vector2f _cone=cugar::Vector2f(0), const uint32 _vertex_info=uint32(-1), const uint32 _nee_slot=uint32(-1))
 
template<typename TPTVertexProcessor >
FERMAT_DEVICE void trace_shadow_ray (TPTVertexProcessor &_vertex_processor, RenderingContextView &_renderer, const PixelInfo _pixel, const MaskedRay _ray, const cugar::Vector3f _weight, const cugar::Vector3f _weight_d, const cugar::Vector3f _weight_g, const uint32 _vertex_info=uint32(-1), const uint32 _nee_slot=uint32(-1), const uint32 _nee_sample=uint32(-1))
 

Public Members

PTRayQueue in_queue
 
PTRayQueue shadow_queue
 
PTRayQueue scatter_queue
 

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