NvBlastActorGetSerializationSize

Defined in lowlevel/NvBlast.h

uint32_t NvBlastActorGetSerializationSize(const NvBlastActor *actor, NvBlastLog logFn)

The buffer size needed to serialize a single actor.

This will give the exact size needed. For an upper bound on the buffer size needed for any actor instanced from an NvBlastAsset, use NvBlastAssetGetActorSerializationSizeUpperBound.

Parameters
  • actor[in] The actor.

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

Returns

the required buffer size in bytes.