#include "NvBlastGlobals.h"Go to the source code of this file.
Classes | |
| struct | Nv::Blast::ExtPxObjectTypeID |
Namespaces | |
| namespace | Nv |
| namespace | Nv::Blast |
| namespace | physx |
Functions | |
| NVBLAST_API size_t | NvBlastExtPxSerializerLoadSet (Nv::Blast::TkFramework &framework, physx::PxPhysics &physics, physx::PxCooking &cooking, Nv::Blast::ExtSerialization &serialization) |
| NVBLAST_API uint64_t | NvBlastExtSerializationSerializeExtPxAssetIntoBuffer (void *&buffer, Nv::Blast::ExtSerialization &serialization, const Nv::Blast::ExtPxAsset *asset) |
| NVBLAST_API size_t NvBlastExtPxSerializerLoadSet | ( | Nv::Blast::TkFramework & | framework, | |
| physx::PxPhysics & | physics, | |||
| physx::PxCooking & | cooking, | |||
| Nv::Blast::ExtSerialization & | serialization | |||
| ) |
Load all ExtPhysX extension serializers into the ExtSerialization manager.
It does no harm to call this function more than once; serializers already loaded will not be loaded again.
| [in] | serialization | Serialization manager into which to load serializers. |
| NVBLAST_API uint64_t NvBlastExtSerializationSerializeExtPxAssetIntoBuffer | ( | void *& | buffer, | |
| Nv::Blast::ExtSerialization & | serialization, | |||
| const Nv::Blast::ExtPxAsset * | asset | |||
| ) |
Utility wrapper function to serialize an ExtPxAsset. Allocates the buffer internally using the callack set in ExtSerialization::setBufferProvider.
Equivalent to:
serialization.serializeIntoBuffer(buffer, asset, Nv::Blast::ExtPxObjectTypeID::Asset);
| [out] | buffer | Pointer to the buffer created. |
| [in] | serialization | Serialization manager. |
| [in] | asset | Pointer to the ExtPxAsset to serialize. |