Struct for PxBatchQuery memory pointers.
More...
#include <PxBatchQueryDesc.h>
Struct for PxBatchQuery memory pointers.
- Deprecated:
- The batched query feature has been deprecated in PhysX version 3.4
- See also
- PxBatchQuery PxBatchQueryDesc
◆ PxBatchQueryMemory()
PxBatchQueryMemory::PxBatchQueryMemory |
( |
PxU32 |
raycastResultBufferSize_, |
|
|
PxU32 |
sweepResultBufferSize_, |
|
|
PxU32 |
overlapResultBufferSize_ |
|
) |
| |
|
inline |
◆ getMaxOverlapsPerExecute()
- Returns
- Capacity of the user-allocated userOverlapResultBuffer in elements (max number of overlap() calls before execute() call)
◆ getMaxRaycastsPerExecute()
- Returns
- Capacity of the user-allocated userRaycastResultBuffer in elements (max number of raycast() calls before execute() call)
◆ getMaxSweepsPerExecute()
- Returns
- Capacity of the user-allocated userSweepResultBuffer in elements (max number of sweep() calls before execute() call)
◆ overlapResultBufferSize
PxU32 PxBatchQueryMemory::overlapResultBufferSize |
|
protected |
◆ overlapTouchBufferSize
PxU32 PxBatchQueryMemory::overlapTouchBufferSize |
Capacity of the user-allocated userOverlapTouchBuffer in elements.
◆ raycastResultBufferSize
PxU32 PxBatchQueryMemory::raycastResultBufferSize |
|
protected |
◆ raycastTouchBufferSize
PxU32 PxBatchQueryMemory::raycastTouchBufferSize |
Capacity of the user-allocated userRaycastTouchBuffer in elements.
◆ sweepResultBufferSize
PxU32 PxBatchQueryMemory::sweepResultBufferSize |
|
protected |
◆ sweepTouchBufferSize
PxU32 PxBatchQueryMemory::sweepTouchBufferSize |
Capacity of the user-allocated userSweepTouchBuffer in elements.
◆ userOverlapResultBuffer
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
◆ userOverlapTouchBuffer
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
◆ userRaycastResultBuffer
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
◆ userRaycastTouchBuffer
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
◆ userSweepResultBuffer
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
◆ userSweepTouchBuffer
PxSweepHit* PxBatchQueryMemory::userSweepTouchBuffer |
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: