pub unsafe extern "C" fn PxDeserializationContext_resolveReference(
    self_: *const PxDeserializationContext,
    kind: u32,
    reference: usize
) -> *mut PxBase
Expand description

Retrieves a pointer to a deserialized PxBase object given a corresponding deserialized reference value

This method is assumed to be called in the implementation of PxSerializer::createObject in order to update reference values on deserialization.

To update a PxBase reference the corresponding deserialized pointer value needs to be provided in order to retrieve the location of the corresponding deserialized PxBase object. (PxDeserializationContext::translatePxBase simplifies this common case).

For other kinds of references the reverence values need to be updated by deduction given the corresponding PxBase instance.

PxBase object associated with the reference value