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

Method createObject

physx/source/physx/src/NpMaterial.cpp:74–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74NpMaterial* NpMaterial::createObject(PxU8*& address, PxDeserializationContext& context)
75{
76 NpMaterial* obj = new (address) NpMaterial(PxBaseFlag::eIS_RELEASABLE);
77 address += sizeof(NpMaterial);
78 obj->importExtraData(context);
79 obj->resolveReferences(context);
80 return obj;
81}
82//~PX_SERIALIZATION
83
84void NpMaterial::release()

Callers

nothing calls this directly

Calls 2

importExtraDataMethod · 0.45
resolveReferencesMethod · 0.45

Tested by

no test coverage detected