PxBatchQueryMemory Struct Reference
[Physics]

Struct for PxBatchQuery memory pointers. More...

#include <PxBatchQueryDesc.h>

Collaboration diagram for PxBatchQueryMemory:

Collaboration graph
PxRaycastHitPxLocationHitPxSweepHitPxQueryHitPxOverlapHitPxActorShapePxRigidActorPxActorPxBasePxShapePxFlags\< PxBaseFlag::Enum, PxU16 \>PxVec3
[legend]

List of all members.

Public Member Functions

PX_FORCE_INLINE PxU32 getMaxRaycastsPerExecute () const
PX_FORCE_INLINE PxU32 getMaxSweepsPerExecute () const
PX_FORCE_INLINE PxU32 getMaxOverlapsPerExecute () const
 PxBatchQueryMemory (PxU32 raycastResultBufferSize_, PxU32 sweepResultBufferSize_, PxU32 overlapResultBufferSize_)

Public Attributes

PxRaycastQueryResultuserRaycastResultBuffer
 The pointer to the user-allocated buffer for results of raycast queries in corresponding order of issue.
PxRaycastHituserRaycastTouchBuffer
 The pointer to the user-allocated buffer for raycast touch hits.
PxSweepQueryResultuserSweepResultBuffer
 The pointer to the user-allocated buffer for results of sweep queries in corresponding order of issue.
PxSweepHituserSweepTouchBuffer
 The pointer to the user-allocated buffer for sweep hits.
PxOverlapQueryResultuserOverlapResultBuffer
 The pointer to the user-allocated buffer for results of overlap queries in corresponding order of issue.
PxOverlapHituserOverlapTouchBuffer
 The pointer to the user-allocated buffer for overlap hits.
PxU32 raycastTouchBufferSize
 Capacity of the user-allocated userRaycastTouchBuffer in elements.
PxU32 sweepTouchBufferSize
 Capacity of the user-allocated userSweepTouchBuffer in elements.
PxU32 overlapTouchBufferSize
 Capacity of the user-allocated userOverlapTouchBuffer in elements.

Protected Attributes

PxU32 raycastResultBufferSize
PxU32 sweepResultBufferSize
PxU32 overlapResultBufferSize


Detailed Description

Struct for PxBatchQuery memory pointers.

Deprecated:
The batched query feature has been deprecated in PhysX version 3.4
See also:
PxBatchQuery PxBatchQueryDesc

Constructor & Destructor Documentation

PxBatchQueryMemory::PxBatchQueryMemory ( PxU32  raycastResultBufferSize_,
PxU32  sweepResultBufferSize_,
PxU32  overlapResultBufferSize_ 
) [inline]


Member Function Documentation

PX_FORCE_INLINE PxU32 PxBatchQueryMemory::getMaxOverlapsPerExecute (  )  const [inline]

Returns:
Capacity of the user-allocated userOverlapResultBuffer in elements (max number of overlap() calls before execute() call)

PX_FORCE_INLINE PxU32 PxBatchQueryMemory::getMaxRaycastsPerExecute (  )  const [inline]

Returns:
Capacity of the user-allocated userRaycastResultBuffer in elements (max number of raycast() calls before execute() call)

PX_FORCE_INLINE PxU32 PxBatchQueryMemory::getMaxSweepsPerExecute (  )  const [inline]

Returns:
Capacity of the user-allocated userSweepResultBuffer in elements (max number of sweep() calls before execute() call)


Member Data Documentation

Capacity of the user-allocated userOverlapTouchBuffer in elements.

Capacity of the user-allocated userRaycastTouchBuffer in elements.

Capacity of the user-allocated userSweepTouchBuffer in elements.

The pointer to the user-allocated buffer for results of overlap queries in corresponding order of issue.

Note:
The size should be large enough to fit the number of expected overlap queries.
See also:
PxRaycastQueryResult

The pointer to the user-allocated buffer for overlap hits.

Note:
The size of this buffer should be large enough to store the hits returned. If the buffer is too small to store hits, the related PxOverlapQueryResult.queryStatus will be set to eABORTED

The pointer to the user-allocated buffer for results of raycast queries in corresponding order of issue.

Note:
The size should be large enough to fit the number of expected raycast queries.
See also:
PxRaycastQueryResult

The pointer to the user-allocated buffer for raycast touch hits.

Note:
The size of this buffer should be large enough to store PxRaycastHit. If the buffer is too small to store hits, the related PxRaycastQueryResult.queryStatus will be set to eOVERFLOW

The pointer to the user-allocated buffer for results of sweep queries in corresponding order of issue.

Note:
The size should be large enough to fit the number of expected sweep queries.
See also:
PxRaycastQueryResult

The pointer to the user-allocated buffer for sweep hits.

Note:
The size of this buffer should be large enough to store PxSweepHit. If the buffer is too small to store hits, the related PxSweepQueryResult.queryStatus will be set to eOVERFLOW


The documentation for this struct 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