MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/FleX / NvFlexExtDestroyContainer

Function NvFlexExtDestroyContainer

extensions/flexExtContainer.cpp:459–470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457}
458
459void NvFlexExtDestroyContainer(NvFlexExtContainer* c)
460{
461 // ensure we have the corerct CUDA context set
462 NvFlexLibrary* lib = c->mFlexLib;
463
464 NvFlexAcquireContext(lib);
465
466 delete c;
467
468 NvFlexRestoreContext(lib);
469
470}
471
472int NvFlexExtAllocParticles(NvFlexExtContainer* c, int n, int* indices)
473{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected