PxBatchQueryDesc Class Reference

Descriptor class for PxBatchQuery. More...

#include <PxBatchQueryDesc.h>

Collaboration diagram for PxBatchQueryDesc:

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...
 
PxBatchQueryMemory queryMemory
 User memory buffers for the query. More...
 

Detailed Description

Descriptor class for PxBatchQuery.

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

Member Data Documentation

◆ filterShaderData

void* PxBatchQueryDesc::filterShaderData

Shared global filter data which will get passed into the filter shader.

Note
The provided data will get copied to internal buffers and this copy will be used for filtering calls.

Default: NULL

See also
PxSimulationFilterShader

Referenced by isValid().

◆ filterShaderDataSize

PxU32 PxBatchQueryDesc::filterShaderDataSize

Size (in bytes) of the shared global filter data filterShaderData.

Default: 0

See also
PxSimulationFilterShader filterShaderData

Referenced by isValid().

◆ postFilterShader

PxBatchQueryPostFilterShader PxBatchQueryDesc::postFilterShader

The custom postFilter shader to use for filtering.

See also
PxBatchQueryPostFilterShader PxDefaultPostFilterShader

◆ preFilterShader

PxBatchQueryPreFilterShader PxBatchQueryDesc::preFilterShader

The custom preFilter shader to use for filtering.

See also
PxBatchQueryPreFilterShader PxDefaultPreFilterShader

◆ queryMemory

PxBatchQueryMemory PxBatchQueryDesc::queryMemory

User memory buffers for the query.

See also
PxBatchQueryMemory

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