RavEngine
Loading...
Searching...
No Matches
Serializers
Collaboration diagram for Serializers:

Namespaces

namespace  physx
 Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
 

Macros

#define PX_NEW_REPX_SERIALIZER(T)    *PX_PLACEMENT_NEW(PxGetAllocatorCallback()->allocate(sizeof(T), "PxRepXSerializer", __FILE__, __LINE__ ), T)(*PxGetAllocatorCallback())
 Preprocessor macro for RepX serializer creation.
 
#define PX_DELETE_REPX_SERIALIZER(x)    { PxRepXSerializer* s = x; if (s) { PxGetAllocatorCallback()->deallocate(s); } }
 Preprocessor Macro to simplify RepX serializer delete.
 

Functions

template<typename TDataType >
PX_INLINE physx::PxRepXObject PxCreateRepXObject (const TDataType *inType, const physx::PxSerialObjectId inId)
 Inline helper template function to create PxRepXObject from TDataType type supporting PxTypeInfo<TDataType>::name.
 
PX_INLINE physx::PxRepXObject PxCreateRepXObject (const physx::PxBase *inType, const physx::PxSerialObjectId inId)
 Inline helper function to create PxRepXObject from a PxBase instance.
 
template<typename TDataType >
PX_INLINE physx::PxRepXObject PxCreateRepXObject (const TDataType *inType)
 Inline helper template function to create PxRepXObject form TDataType type using inType pointer as a PxSerialObjectId id.
 

Detailed Description