MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / createBatchQuery

Method createBatchQuery

physx/source/physx/src/NpScene.cpp:3005–3013  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3003}
3004
3005PxBatchQuery* NpScene::createBatchQuery(const PxBatchQueryDesc& desc)
3006{
3007 PX_PROFILE_ZONE("API.createBatchQuery", getContextId());
3008 PX_CHECK_AND_RETURN_NULL(desc.isValid(),"Supplied PxBatchQueryDesc is not valid. createBatchQuery returns NULL.");
3009
3010 NpBatchQuery* bq = PX_NEW(NpBatchQuery)(*this, desc);
3011 mBatchQueries.pushBack(bq);
3012 return bq;
3013}
3014
3015void NpScene::releaseBatchQuery(PxBatchQuery* sq)
3016{

Callers 8

SqRayBufferMethod · 0.80
SqRayBufferMethod · 0.80
setSceneMethod · 0.80
SqSweepBufferMethod · 0.80

Calls 3

getContextIdFunction · 0.50
isValidMethod · 0.45
pushBackMethod · 0.45

Tested by

no test coverage detected