Struct for PxBatchQuery memory pointers.
More...
#include <PxBatchQueryDesc.h>
PxBatchQueryMemory::PxBatchQueryMemory |
( |
PxU32 |
raycastResultBufferSize_, |
|
|
PxU32 |
sweepResultBufferSize_, |
|
|
PxU32 |
overlapResultBufferSize_ |
|
) |
| |
|
inline |
- Returns
- Capacity of the user-allocated userOverlapResultBuffer in elements (max number of overlap() calls before execute() call)
- Returns
- Capacity of the user-allocated userRaycastResultBuffer in elements (max number of raycast() calls before execute() call)
- Returns
- Capacity of the user-allocated userSweepResultBuffer in elements (max number of sweep() calls before execute() call)
PxU32 PxBatchQueryMemory::overlapResultBufferSize |
|
protected |
PxU32 PxBatchQueryMemory::overlapTouchBufferSize |
Capacity of the user-allocated userOverlapTouchBuffer in elements.
PxU32 PxBatchQueryMemory::raycastResultBufferSize |
|
protected |
PxU32 PxBatchQueryMemory::raycastTouchBufferSize |
Capacity of the user-allocated userRaycastTouchBuffer in elements.
PxU32 PxBatchQueryMemory::sweepResultBufferSize |
|
protected |
PxU32 PxBatchQueryMemory::sweepTouchBufferSize |
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.
-
For ps3, this must be 16 bytes aligned and not on stack
- 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
-
For ps3, this buffer must be 16 bytes aligned and not on stack
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.
-
For ps3, this must be 16 bytes aligned and not on stack
- 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
-
For ps3, this buffer must be 16 bytes aligned and not on stack
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.
-
For ps3, this must be 16 bytes aligned and not on stack
- See Also
- PxRaycastQueryResult
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
-
For ps3, this buffer must be 16 bytes aligned and not on stack
The documentation for this struct was generated from the following file: