#include "NvBlastGlobals.h"Go to the source code of this file.
Classes | |
| struct | Nv::Blast::TkObjectTypeID |
Namespaces | |
| namespace | Nv |
| namespace | Nv::Blast |
Functions | |
| uint64_t | NvBlastExtSerializationSerializeTkAssetIntoBuffer (void *&buffer, Nv::Blast::ExtSerialization &serialization, const Nv::Blast::TkAsset *asset) |
| size_t | NvBlastExtTkSerializerLoadSet (Nv::Blast::TkFramework &framework, Nv::Blast::ExtSerialization &serialization) |
| uint64_t NvBlastExtSerializationSerializeTkAssetIntoBuffer | ( | void *& | buffer, | |
| Nv::Blast::ExtSerialization & | serialization, | |||
| const Nv::Blast::TkAsset * | asset | |||
| ) |
Utility wrapper function to serialize a TkAsset. Allocates the buffer internally using the callack set in ExtSerialization::setBufferProvider.
Equivalent to:
serialization.serializeIntoBuffer(buffer, asset, Nv::Blast::TkObjectTypeID::Asset);
| [out] | buffer | Pointer to the buffer created. |
| [in] | serialization | Serialization manager. |
| [in] | asset | Pointer to the TkAsset to serialize. |
| size_t NvBlastExtTkSerializerLoadSet | ( | Nv::Blast::TkFramework & | framework, | |
| Nv::Blast::ExtSerialization & | serialization | |||
| ) |
Load all high-level 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. |