Function physx_sys::PxConvexMesh_isGpuCompatible
source · pub unsafe extern "C" fn PxConvexMesh_isGpuCompatible(
self_: *const PxConvexMesh
) -> bool
Expand description
This method decides whether a convex mesh is gpu compatible. If the total number of vertices are more than 64 or any number of vertices in a polygon is more than 32, or convex hull data was not cooked with GPU data enabled during cooking or was loaded from a serialized collection, the convex hull is incompatible with GPU collision detection. Otherwise it is compatible.
True if the convex hull is gpu compatible