PxBVH34MidphaseDesc Struct Reference

Structure describing parameters affecting BVH34 midphase mesh structure. More...

#include <PxBVH34MidphaseDesc.h>

Public Member Functions

void setToDefault ()
 Desc initialization to default value. More...
 
bool isValid () const
 Returns true if the descriptor is valid. More...
 

Public Attributes

PxU32 numPrimsPerLeaf
 Mesh cooking hint for max primitives per leaf limit. Less primitives per leaf produces larger meshes with better runtime performance and worse cooking performance. More triangles per leaf results in faster cooking speed and smaller mesh sizes, but with worse runtime performance. More...
 

Detailed Description

Structure describing parameters affecting BVH34 midphase mesh structure.

See also
PxCookingParams, PxMidphaseDesc

Member Function Documentation

◆ isValid()

bool PxBVH34MidphaseDesc::isValid ( ) const
inline

Returns true if the descriptor is valid.

Returns
true if the current settings are valid.

◆ setToDefault()

void PxBVH34MidphaseDesc::setToDefault ( )
inline

Desc initialization to default value.

Member Data Documentation

◆ numPrimsPerLeaf

PxU32 PxBVH34MidphaseDesc::numPrimsPerLeaf

Mesh cooking hint for max primitives per leaf limit. Less primitives per leaf produces larger meshes with better runtime performance and worse cooking performance. More triangles per leaf results in faster cooking speed and smaller mesh sizes, but with worse runtime performance.

Default value: 4 Range: <4, 15>


The documentation for this struct was generated from the following file: