MCPcopy Create free account
hub / github.com/OpenPathGuidingLibrary/openpgl / pglVolumeSamplingDistributionFluence

Function pglVolumeSamplingDistributionFluence

openpgl/api/api.cpp:769–777  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

767}
768
769extern "C" OPENPGL_DLLEXPORT pgl_vec3f pglVolumeSamplingDistributionFluence(PGLVolumeSamplingDistribution volumeSamplingDistribution, const bool directLightMIS)
770{
771 IVolumeSamplingDistribution *gVolumeSamplingDistribution = (IVolumeSamplingDistribution *)volumeSamplingDistribution;
772 openpgl::Vector3 fluence = gVolumeSamplingDistribution->fluence(directLightMIS);
773
774 pgl_vec3f pglFluence;
775 pglVec3f(pglFluence, fluence.x, fluence.y, fluence.z);
776 return pglFluence;
777}
778
779#endif
780

Callers 1

FluenceMethod · 0.85

Calls 2

pglVec3fFunction · 0.85
fluenceMethod · 0.45

Tested by

no test coverage detected