Descriptor class for PxBatchQuery. More...
#include <PxBatchQueryDesc.h>
Public Member Functions | |
PX_INLINE | PxBatchQueryDesc (PxU32 maxRaycastsPerExecute, PxU32 maxSweepsPerExecute, PxU32 maxOverlapsPerExecute) |
Construct a batch query with specified maximum number of queries per batch. More... | |
PX_INLINE bool | isValid () const |
Public Attributes | |
void * | filterShaderData |
Shared global filter data which will get passed into the filter shader. More... | |
PxU32 | filterShaderDataSize |
Size (in bytes) of the shared global filter data filterShaderData. More... | |
PxBatchQueryPreFilterShader | preFilterShader |
The custom preFilter shader to use for filtering. More... | |
PxBatchQueryPostFilterShader | postFilterShader |
The custom postFilter shader to use for filtering. More... | |
void * | spuPreFilterShader |
The custom spu pre filter shader to use for collision filtering. More... | |
PxU32 | spuPreFilterShaderSize |
Size (in bytes) of the spu pre filter shader codes spuPreFilterShader. More... | |
void * | spuPostFilterShader |
The custom spu post filter shader to use for collision filtering. More... | |
PxU32 | spuPostFilterShaderSize |
Size (in bytes) of the spu post filter shader codes spuPostFilterShader. More... | |
PxClientID | ownerClient |
client that creates and owns this scene query. More... | |
PxBatchQueryMemory | queryMemory |
User memory buffers for the query. More... | |
bool | runOnSpu |
PS3 only. Enables or disables SPU execution for this batch. More... | |
Descriptor class for PxBatchQuery.
void* PxBatchQueryDesc::filterShaderData |
Shared global filter data which will get passed into the filter shader.
Default: NULL
Referenced by isValid().
PxU32 PxBatchQueryDesc::filterShaderDataSize |
Size (in bytes) of the shared global filter data filterShaderData.
Default: 0
Referenced by isValid().
PxClientID PxBatchQueryDesc::ownerClient |
client that creates and owns this scene query.
This value will be used as an override when PX_DEFAULT_CLIENT value is passed to the query in PxQueryFilterData.clientId.
PxBatchQueryPostFilterShader PxBatchQueryDesc::postFilterShader |
The custom postFilter shader to use for filtering.
Referenced by isValid().
PxBatchQueryPreFilterShader PxBatchQueryDesc::preFilterShader |
The custom preFilter shader to use for filtering.
Referenced by isValid().
PxBatchQueryMemory PxBatchQueryDesc::queryMemory |
User memory buffers for the query.
bool PxBatchQueryDesc::runOnSpu |
PS3 only. Enables or disables SPU execution for this batch.
Defaults to true on PS3, ignored on other platforms.
void* PxBatchQueryDesc::spuPostFilterShader |
The custom spu post filter shader to use for collision filtering.
Platform specific: Applies to PS3 only.
Referenced by isValid().
PxU32 PxBatchQueryDesc::spuPostFilterShaderSize |
Size (in bytes) of the spu post filter shader codes spuPostFilterShader.
Default: 0
Platform specific: Applies to PS3 only.
Referenced by isValid().
void* PxBatchQueryDesc::spuPreFilterShader |
The custom spu pre filter shader to use for collision filtering.
Platform specific: Applies to PS3 only.
Referenced by isValid().
PxU32 PxBatchQueryDesc::spuPreFilterShaderSize |
Size (in bytes) of the spu pre filter shader codes spuPreFilterShader.
Default: 0
Platform specific: Applies to PS3 only.
Referenced by isValid().