PxMarkSerializedMemory

Defined in include/foundation/PxMemory.h

inline void PxMarkSerializedMemory(void *ptr, PxU32 byteSize)

Mark a specified amount of memory with 0xcd pattern.

This is used to check that the meta data definition for serialized classes is complete in checked builds.

Parameters
  • ptr – [out] Pointer to block of memory to initialize.

  • byteSize – [in] Number of bytes to initialize.