MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / createObject

Method createObject

physx/source/physx/src/NpShape.cpp:173–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173NpShape* NpShape::createObject(PxU8*& address, PxDeserializationContext& context)
174{
175 NpShape* obj = new (address) NpShape(PxBaseFlag::eIS_RELEASABLE);
176 address += sizeof(NpShape);
177 obj->importExtraData(context);
178 obj->resolveReferences(context);
179 return obj;
180}
181//~PX_SERIALIZATION
182
183PxU32 NpShape::getReferenceCount() const

Callers

nothing calls this directly

Calls 2

importExtraDataMethod · 0.45
resolveReferencesMethod · 0.45

Tested by

no test coverage detected