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

Function pglPathSegmentStoragePropagateSamples

openpgl/api/api.cpp:543–549  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

541}
542
543extern "C" OPENPGL_DLLEXPORT void pglPathSegmentStoragePropagateSamples(PGLPathSegmentStorage pathSegmentStorage, PGLSampleStorage sampleStorage, bool guideDirectLight,
544 bool useNEEMiWeights, bool rrAffectsDirectContribution)
545{
546 auto *gPathSegmentStorage = (openpgl::PathSegmentDataStorage *)pathSegmentStorage;
547 auto *gSampleStorage = (openpgl::SampleDataStorage *)sampleStorage;
548 gPathSegmentStorage->propagateSamples(gSampleStorage, guideDirectLight, useNEEMiWeights, rrAffectsDirectContribution);
549}
550
551///////////////////////////////////////////////////////////////////////////////
552// Distribution ///// /////////////////////////////////////////////////////////

Callers 1

PropagateSamplesMethod · 0.85

Calls 1

propagateSamplesMethod · 0.80

Tested by

no test coverage detected