Fermat
|
Classes | |
struct | GBufferView |
struct | FBufferChannelView |
struct | GBufferStorage |
struct | FBufferChannelStorage |
struct | FBufferView |
struct | FBufferStorage |
Functions | |
template<bool ALPHA_AS_VARIANCE> | |
FERMAT_HOST_DEVICE void | average_in (FBufferChannelView &fb, const uint32_t pixel, const cugar::Vector4f f, const float inv_n) |
template<bool ALPHA_AS_VARIANCE> | |
FERMAT_HOST_DEVICE void | average_in (FBufferChannelView &fb, const uint32_t pixel, const cugar::Vector3f f, const float inv_n) |
template<bool ALPHA_AS_VARIANCE> | |
FERMAT_HOST_DEVICE void | add_in (FBufferChannelView &fb, const uint32_t pixel, const cugar::Vector3f f, const float inv_n) |
FERMAT_HOST_DEVICE void add_in | ( | FBufferChannelView & | fb, |
const uint32_t | pixel, | ||
const cugar::Vector3f | f, | ||
const float | inv_n | ||
) |
add a sample to a frame-buffer channel, optionally keeping track of variance in the alpha component. Note that in order to compute statistical averages, the frame-buffer should be here pre-multiplied by (n-1)/n.
FERMAT_HOST_DEVICE void average_in | ( | FBufferChannelView & | fb, |
const uint32_t | pixel, | ||
const cugar::Vector4f | f, | ||
const float | inv_n | ||
) |
add a sample to a frame-buffer channel, optionally keeping track of variance in the alpha component
FERMAT_HOST_DEVICE void average_in | ( | FBufferChannelView & | fb, |
const uint32_t | pixel, | ||
const cugar::Vector3f | f, | ||
const float | inv_n | ||
) |
add a sample to a frame-buffer channel, optionally keeping track of variance in the alpha component