PxCache

Defined in include/collision/PxCollisionDefs.h

struct PxCache

A structure to cache contact information produced by low-level contact generation functions.

Public Functions

inline PxCache()
inline void reset()

Public Members

PxU8 *mCachedData

Cached data pointer. Allocated via PxCacheAllocator.

PxU16 mCachedSize

The total size of the cached data.

PxU8 mPairData

Pair data information used and cached internally by some contact generation functions to accelerate performance.

PxU8 mManifoldFlags

Manifold flags used to identify the format the cached data is stored in.

See also

Gu::ManifoldFlags