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

Function pglPathSegmentGetNumSamples

openpgl/api/api.cpp:472–476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

GetNumSamplesMethod · 0.85

Calls 1

getNumSamplesMethod · 0.45

Tested by

no test coverage detected