PxMidphaseDesc Class Reference
[Cooking]

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

#include <PxMidphaseDesc.h>

Collaboration diagram for PxMidphaseDesc:

Collaboration graph
PxBVH34MidphaseDescPxBVH33MidphaseDesc
[legend]

List of all members.

Public Member Functions

PX_FORCE_INLINE PxMidphaseDesc ()
PX_FORCE_INLINE
PxMeshMidPhase::Enum 
getType () const
 Returns type of midphase mesh structure.
void setToDefault (PxMeshMidPhase::Enum type)
 Initialize the midphase mesh structure descriptor.
bool isValid () const
 Returns true if the descriptor is valid.
PX_FORCE_INLINE PxMidphaseDescoperator= (PxMeshMidPhase::Enum descType)

Public Attributes

union {
   PxBVH33MidphaseDesc   mBVH33Desc
   PxBVH34MidphaseDesc   mBVH34Desc
}; 
 Midphase descriptors union.

Protected Attributes

PxMeshMidPhase::Enum mType


Detailed Description

Structure describing parameters affecting midphase mesh structure.

See also:
PxCookingParams, PxBVH33MidphaseDesc, PxBVH34MidphaseDesc

Constructor & Destructor Documentation

PX_FORCE_INLINE PxMidphaseDesc::PxMidphaseDesc (  )  [inline]


Member Function Documentation

PX_FORCE_INLINE PxMeshMidPhase::Enum PxMidphaseDesc::getType (  )  const [inline]

Returns type of midphase mesh structure.

Returns:
PxMeshMidPhase::Enum
See also:
PxMeshMidPhase::Enum

bool PxMidphaseDesc::isValid (  )  const [inline]

Returns true if the descriptor is valid.

Returns:
true if the current settings are valid.

References PxMeshMidPhase::eBVH33, and PxMeshMidPhase::eBVH34.

PX_FORCE_INLINE PxMidphaseDesc& PxMidphaseDesc::operator= ( PxMeshMidPhase::Enum  descType  )  [inline]

void PxMidphaseDesc::setToDefault ( PxMeshMidPhase::Enum  type  )  [inline]

Initialize the midphase mesh structure descriptor.

Parameters:
[in] type Midphase mesh structure descriptor
See also:
PxBV33MidphaseDesc, PxBV34MidphaseDesc

References PxMeshMidPhase::eBVH33, and PxMeshMidPhase::eBVH34.


Member Data Documentation

union { ... }

Midphase descriptors union.

See also:
PxBV33MidphaseDesc, PxBV34MidphaseDesc


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


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