Fermat
Public Methods | List of all members
SampleSinkBase Struct Reference

Detailed description

[SampleSinkBaseBlock]

Base class for sample sinks, a class specifying how to handle final samples produced by the bidirectional path tracing kernels

#include <bpt_kernels.h>

Public Methods

template<typename TBPTContext >
FERMAT_HOST_DEVICE void sink (const uint32 channel, const cugar::Vector4f value, const uint32 light_path_id, const uint32 eye_path_id, const uint32 s, const uint32 t, TBPTContext &context, RenderingContextView &renderer)
 
template<typename TBPTContext >
FERMAT_HOST_DEVICE void sink_eye_scattering_event (const Bsdf::ComponentType component, const cugar::Vector4f value, const uint32 eye_path_id, const uint32 t, TBPTContext &context, RenderingContextView &renderer)
 

Member Function Documentation

◆ sink()

template<typename TBPTContext >
FERMAT_HOST_DEVICE void SampleSinkBase::sink ( const uint32  channel,
const cugar::Vector4f  value,
const uint32  light_path_id,
const uint32  eye_path_id,
const uint32  s,
const uint32  t,
TBPTContext &  context,
RenderingContextView renderer 
)
inline

Sink a full path sample

◆ sink_eye_scattering_event()

template<typename TBPTContext >
FERMAT_HOST_DEVICE void SampleSinkBase::sink_eye_scattering_event ( const Bsdf::ComponentType  component,
const cugar::Vector4f  value,
const uint32  eye_path_id,
const uint32  t,
TBPTContext &  context,
RenderingContextView renderer 
)
inline

record an eye scattering event


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