Name Description Size Coverage
PxBase.h \brief Flags for PxBase. 6383 -
PxCollection.h \brief Collection class for serialization. A collection is a set of PxBase objects. PxBase objects can be added to the collection regardless of other objects they depend on. Objects may be named using PxSerialObjectId values in order to resolve dependencies between objects of different collections. Serialization and deserialization only work through collections. A scene is typically serialized using the following steps: -# create a serialization registry -# create a collection for scene objects -# complete the scene objects (adds all dependent objects, e.g. meshes) -# serialize collection -# release collection -# release serialization registry For example the code may look like this: \code PxPhysics* physics; // The physics PxScene* scene; // The physics scene SerialStream s; // The user-defined stream doing the actual write to disk PxSerializationRegistry* registry = PxSerialization::createSerializationRegistry(*physics); // step 1) PxCollection* collection = PxSerialization::createCollection(*scene); // step 2) PxSerialization::complete(*collection, *registry); // step 3) PxSerialization::serializeCollectionToBinary(s, *collection, *registry); // step 4) collection->release(); // step 5) registry->release(); // step 6) \endcode A scene is typically deserialized using the following steps: -# load a serialized collection into memory -# create a serialization registry -# create a collection by passing the serialized memory block -# add collected objects to scene -# release collection -# release serialization registry For example the code may look like this: \code PxPhysics* physics; // The physics PxScene* scene; // The physics scene void* memory128; // a 128-byte aligned buffer previously loaded from disk by the user - step 1) PxSerializationRegistry* registry = PxSerialization::createSerializationRegistry(*physics); // step 2) PxCollection* collection = PxSerialization::createCollectionFromBinary(memory128, *registry); // step 3) scene->addCollection(*collection); // step 4) collection->release(); // step 5) registry->release(); // step 6) \endcode \see PxBase, PxCreateCollection() 8215 -
PxCoreUtilityTypes.h \brief The offset in bytes between consecutive samples in the data. <b>Default:</b> 0 4404 -
PxInsertionCallback.h \brief Callback interface that permits TriangleMesh, Heightfield, ConvexMesh or BVH to be used directly without the need to store the cooking results into a stream. Using this is advised only if real-time cooking is required; using "offline" cooking and streams is otherwise preferred. The default PxInsertionCallback implementations must be used. The PxPhysics default callback can be obtained using the PxPhysics::getPhysicsInsertionCallback(). The PxCooking default callback can be obtained using the PxCooking::getStandaloneInsertionCallback(). \see PxCooking PxPhysics 1489 -
PxPhysXCommonConfig.h Disable support for VS2017 prior version 15.5.1 for windows platform, because of a compiler bug: https://developercommunity.visualstudio.com/content/problem/66047/possible-compiler-bug.html 2893 -
PxProfileZone.h 1394 -
PxRenderBuffer.h \brief Default color values used for debug rendering. 3079 -
PxRenderOutput.h Output stream to fill RenderBuffer 11693 -
PxSerialFramework.h \brief Callback class used to process PxBase objects. \see PxSerializer::requires 12450 -
PxSerializer.h \brief Serialization interface class. PxSerializer is used to extend serializable PxBase classes with serialization functionality. The interface is structured such that per-class adapter instances can be used as opposed to per-object adapter instances, avoiding per object allocations. Hence the methods take a reference to PxBase as a parameter. The PxSerializer interface needs to be implemented for binary or RepX serialization to work on custom types. If only RepX serialization is needed, some methods can be left empty, as they are only needed for binary serialization. A default implementation is available as a template adapter (PxSerializerDefaultAdapter). \see PxSerializerDefaultAdapter, PX_NEW_SERIALIZER_ADAPTER, PxSerializationRegistry::registerSerializer 6929 -
PxStringTable.h \brief a table to manage strings. Strings allocated through this object are expected to be owned by this object. 1043 -
PxTolerancesScale.h \brief Class to define the scale at which simulation runs. Most simulation tolerances are calculated in terms of the values here. \note if you change the simulation scale, you will probably also wish to change the scene's default value of gravity, and stable simulation will probably require changes to the scene's bounceThreshold also. 2168 -
PxTypeInfo.h \brief an enumeration of concrete classes inheriting from PxBase Enumeration space is reserved for future PhysX core types, PhysXExtensions, PhysXVehicle and Custom application types. \see PxBase, PxTypeInfo 4644 -
windows -