PxBVH34MidphaseDesc Struct Reference
[Cooking]

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

#include <PxBVH34MidphaseDesc.h>

List of all members.

Public Member Functions

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

Public Attributes

PxU32 numTrisPerLeaf
 Mesh cooking hint for max triangles per leaf limit. Less triangles 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.


Detailed Description

Structure describing parameters affecting BVH34 midphase mesh structure.

See also:
PxCookingParams, PxMidphaseDesc

Member Function Documentation

bool PxBVH34MidphaseDesc::isValid (  )  const [inline]

Returns true if the descriptor is valid.

Returns:
true if the current settings are valid.

void PxBVH34MidphaseDesc::setToDefault (  )  [inline]

Desc initialization to default value.


Member Data Documentation

Mesh cooking hint for max triangles per leaf limit. Less triangles 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:


Copyright © 2008-2018 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com