| 476 | } |
| 477 | |
| 478 | extern "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 | |
| 485 | extern "C" OPENPGL_DLLEXPORT pgl_vec3f pglPathSegmentStorageCalculatePixelEstimate(PGLPathSegmentStorage pathSegmentStorage, const bool rrAffectsDirectContribution) |
| 486 | { |
no test coverage detected