PxCreateCollection

Defined in include/common/PxCollection.h

physx::PxCollection *PxCreateCollection()

Creates a collection object.

Objects can only be serialized or deserialized through a collection. For serialization, users must add objects to the collection and serialize the collection as a whole. For deserialization, the system gives back a collection of deserialized objects to users.

Returns

The new collection object.