RavEngine
Loading...
Searching...
No Matches
physx::PxHeightFieldRepXSerializer Struct Reference
Inheritance diagram for physx::PxHeightFieldRepXSerializer:
[legend]
Collaboration diagram for physx::PxHeightFieldRepXSerializer:
[legend]

Public Member Functions

 PxHeightFieldRepXSerializer (PxAllocatorCallback &inCallback)
 
virtual void objectToFileImpl (const PxHeightField *, PxCollection *, XmlWriter &, MemoryBuffer &, PxRepXInstantiationArgs &)
 
virtual PxRepXObject fileToObject (XmlReader &, XmlMemoryAllocator &, PxRepXInstantiationArgs &, PxCollection *)
 Convert from a descriptor to a live object. Must be an object of this Serializer type.
 
virtual PxHeightField * allocateObject (PxRepXInstantiationArgs &)
 
- Public Member Functions inherited from physx::RepXSerializerImpl< PxHeightField >
 RepXSerializerImpl (PxAllocatorCallback &inAllocator)
 
virtual const char * getTypeName ()
 The type this Serializer is meant to operate on.
 
virtual void objectToFile (const PxRepXObject &inLiveObject, PxCollection *inCollection, XmlWriter &inWriter, MemoryBuffer &inTempBuffer, PxRepXInstantiationArgs &inArgs)
 Convert from a RepX object to a key-value pair hierarchy.
 
virtual bool fileToObjectImpl (PxHeightField *inObj, XmlReader &inReader, XmlMemoryAllocator &inAllocator, PxRepXInstantiationArgs &inArgs, PxCollection *inCollection)
 
- Public Member Functions inherited from physx::PxUserAllocated
PX_INLINE void * operator new (size_t, void *address)
 
PX_INLINE void operator delete (void *, void *)
 
template<typename Alloc >
PX_INLINE void * operator new (size_t size, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new (size_t size, size_t, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new[] (size_t size, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new[] (size_t size, size_t, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void operator delete (void *ptr, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void operator delete[] (void *ptr, Alloc alloc, const char *fileName, int line)
 
PX_INLINE void operator delete (void *ptr)
 
PX_INLINE void operator delete[] (void *ptr)
 

Additional Inherited Members

- Public Attributes inherited from physx::RepXSerializerImpl< PxHeightField >
PxAllocatorCallback & mAllocator
 
- Protected Member Functions inherited from physx::RepXSerializerImpl< PxHeightField >
 RepXSerializerImpl (const RepXSerializerImpl &inOther)
 
RepXSerializerImpl & operator= (const RepXSerializerImpl &inOther)
 

Member Function Documentation

◆ allocateObject()

virtual PxHeightField * physx::PxHeightFieldRepXSerializer::allocateObject ( PxRepXInstantiationArgs &  )
inlinevirtual

◆ fileToObject()

PxRepXObject physx::PxHeightFieldRepXSerializer::fileToObject ( XmlReader &  inReader,
XmlMemoryAllocator &  inAllocator,
PxRepXInstantiationArgs &  inArgs,
PxCollection *  inCollection 
)
virtual

Convert from a descriptor to a live object. Must be an object of this Serializer type.

Parameters
[in]inReaderThe inverse of the writer, a key-value pair database.
[in]inAllocatorAn allocator to use for temporary allocations. These will be freed after instantiation completes.
[in]inArgsThe arguments used in create resources and objects.
[in]inCollectionThe collection used to find references.
Returns
The new live object. It can be an invalid object if the instantiation cannot take place.

Reimplemented from physx::RepXSerializerImpl< PxHeightField >.

◆ objectToFileImpl()

void physx::PxHeightFieldRepXSerializer::objectToFileImpl ( const PxHeightField *  inHeightField,
PxCollection *  inCollection,
XmlWriter &  inWriter,
MemoryBuffer &  inTempBuffer,
PxRepXInstantiationArgs &   
)
virtual

The documentation for this struct was generated from the following files: