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

Function pglPathSegmentStoragePrepareSamples

openpgl/api/api.cpp:478–483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476}
477
478extern "C" OPENPGL_DLLEXPORT size_t pglPathSegmentStoragePrepareSamples(PGLPathSegmentStorage pathSegmentStorage, const bool useNEEMiWeights, const bool guideDirectLight,
479 const bool rrAffectsDirectContribution)
480{
481 auto *gPathSegmentStorage = (openpgl::PathSegmentDataStorage *)pathSegmentStorage;
482 return gPathSegmentStorage->prepareSamples(useNEEMiWeights, guideDirectLight, rrAffectsDirectContribution);
483}
484
485extern "C" OPENPGL_DLLEXPORT pgl_vec3f pglPathSegmentStorageCalculatePixelEstimate(PGLPathSegmentStorage pathSegmentStorage, const bool rrAffectsDirectContribution)
486{

Callers 1

PrepareSamplesMethod · 0.85

Calls 1

prepareSamplesMethod · 0.45

Tested by

no test coverage detected