PxCookBVH#
Defined in include/cooking/PxCooking.h
- bool PxCookBVH(
- const physx::PxBVHDesc &desc,
- physx::PxOutputStream &stream,
Cooks a bounding volume hierarchy.
The results are written to the stream.
PxCookBVH() allows a BVH description to be cooked into a binary stream suitable for loading and performing BVH detection at runtime.
- Parameters:
desc – [in] The BVH descriptor.
stream – [in] User stream to output the cooked data.
- Returns:
true on success.