21 #ifndef LIB_LIGHTMETRICA_PSSMLT_SPLAT_H
22 #define LIB_LIGHTMETRICA_PSSMLT_SPLAT_H
25 #include "math.types.h"
48 PSSMLTSplat(
int s,
int t,
const Math::Vec2& rasterPos,
const Math::Vec3& L)
51 , rasterPos(rasterPos)
57 PSSMLTSplat(
const Math::Vec2& rasterPos,
const Math::Vec3& L)
60 , rasterPos(rasterPos)
77 std::vector<PSSMLTSplat, aligned_allocator<PSSMLTSplat, std::alignment_of<PSSMLTSplat>::value>> splats;
79 LM_PUBLIC_API Math::Float SumI()
const;
80 LM_PUBLIC_API
void AccumulateContributionToFilm(
Film& film,
const Math::Float& weight)
const;
86 #endif // LIB_LIGHTMETRICA_PSSMLT_SPLAT_H
Definition: pssmlt.splat.h:35
Math::Vec2 rasterPos
Raster position.
Definition: pssmlt.splat.h:40
Definition: pssmlt.splat.h:74
int s
of light subpath vertices
Definition: pssmlt.splat.h:38
Math::Vec3 L
Radiance.
Definition: pssmlt.splat.h:41
int t
of eye subpath vertices
Definition: pssmlt.splat.h:39