Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIAGameWorks/PhysX
/ initSampleAllocator
Function
initSampleAllocator
physx/samples/samplebase/SampleAllocator.cpp:317–321 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
315
static PxSampleAllocator* gAllocator = NULL;
316
317
void initSampleAllocator()
318
{
319
PX_ASSERT(!gAllocator);
320
gAllocator = new PxSampleAllocator;
321
}
322
323
void releaseSampleAllocator()
324
{
Callers
1
mainInitialize
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected