Fermat
Public Methods | Public Members | List of all members
PathCache< T > Struct Template Reference

Detailed description

template<typename T>
struct PathCache< T >

A class to represent a cached quantity associated with light paths

#include <path.h>

Public Methods

FERMAT_HOST_DEVICE PathCache (const uint32 _n_vertices, T *_verts, const uint32 _stride)
 
FERMAT_HOST_DEVICE const T & v_L (const uint32 i) const
 
FERMAT_HOST_DEVICE const T & v_E (const uint32 i) const
 
FERMAT_HOST_DEVICE T & v_L (const uint32 i)
 
FERMAT_HOST_DEVICE T & v_E (const uint32 i)
 

Public Members

T * vertices
 
uint32 n_vertices
 
uint32 stride
 

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