| 470 | } |
| 471 | |
| 472 | extern "C" OPENPGL_DLLEXPORT int pglPathSegmentGetNumSamples(PGLPathSegmentStorage pathSegmentStorage) |
| 473 | { |
| 474 | auto *gPathSegmentStorage = (openpgl::PathSegmentDataStorage *)pathSegmentStorage; |
| 475 | return gPathSegmentStorage->getNumSamples(); |
| 476 | } |
| 477 | |
| 478 | extern "C" OPENPGL_DLLEXPORT size_t pglPathSegmentStoragePrepareSamples(PGLPathSegmentStorage pathSegmentStorage, const bool useNEEMiWeights, const bool guideDirectLight, |
| 479 | const bool rrAffectsDirectContribution) |
no test coverage detected