NvBlastFamilyDeserializeActor

Defined in lowlevel/NvBlast.h

NvBlastActor *NvBlastFamilyDeserializeActor(NvBlastFamily *family, const void *buffer, NvBlastLog logFn)

Deserialize a single Actor from a buffer into the given family.

The actor will be inserted if it is compatible with the current family state. That is, it must not share any chunks or internal IDs with the actors already present in the family.

Parameters
  • family[in] Family in which to deserialize the actor.

  • buffer[in] User-supplied buffer containing the actor to deserialize.

  • logFn[in] User-supplied message function (see NvBlastLog definition). May be NULL.

Returns

the deserialized actor if successful, NULL otherwise.