java.lang.Object
physx.NativeObject
physx.extensions.PxSerializationRegistry
Class serving as a registry for XML (RepX) and binary serializable types.
In order to serialize and deserialize objects the application needs to maintain an instance of this class. It can be created with PxSerialization::createSerializationRegistry() and released with PxSerializationRegistry::release().
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PxSerializationRegistryarrayGet(long baseAddress, int index) voidrelease()Releases PxSerializationRegistry instance.static PxSerializationRegistrywrapPointer(long address) Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
Field Details
-
SIZEOF
public static final int SIZEOF -
ALIGNOF
public static final int ALIGNOF- See Also:
-
-
Constructor Details
-
PxSerializationRegistry
protected PxSerializationRegistry() -
PxSerializationRegistry
protected PxSerializationRegistry(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
release
public void release()Releases PxSerializationRegistry instance.This unregisters all PhysX and PhysXExtension serializers. Make sure to unregister all custom type serializers before releasing the PxSerializationRegistry.
-