PxBVH33MidphaseDesc Struct Reference
[Cooking]

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

#include <PxBVH33MidphaseDesc.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

PxF32 meshSizePerformanceTradeOff
 Controls the trade-off between mesh size and runtime performance.
PxMeshCookingHint::Enum meshCookingHint
 Mesh cooking hint. Used to specify mesh hierarchy construction preference.


Detailed Description

Structure describing parameters affecting BVH33 midphase mesh structure.

See also:
PxCookingParams, PxMidphaseDesc

Member Function Documentation

bool PxBVH33MidphaseDesc::isValid (  )  const [inline]

Returns true if the descriptor is valid.

Returns:
true if the current settings are valid.

void PxBVH33MidphaseDesc::setToDefault (  )  [inline]

Desc initialization to default value.

References PxMeshCookingHint::eSIM_PERFORMANCE.


Member Data Documentation

Mesh cooking hint. Used to specify mesh hierarchy construction preference.

Default value: PxMeshCookingHint::eSIM_PERFORMANCE

Controls the trade-off between mesh size and runtime performance.

Using a value of 1.0 will produce a larger cooked mesh with generally higher runtime performance, using 0.0 will produce a smaller cooked mesh, with generally lower runtime performance.

Values outside of [0,1] range will be clamped and cause a warning when any mesh gets cooked.

Default value: 0.55 Range: [0.0f, 1.0f]


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