diff options
| author | Sheikh Dawood <[email protected]> | 2018-04-09 10:13:48 -0500 |
|---|---|---|
| committer | Sheikh Dawood <[email protected]> | 2018-04-09 10:13:48 -0500 |
| commit | 238605d8225a9135d6b60646e05d066e25424eee (patch) | |
| tree | 2b013bd4946bb3c699d7a06ef1f21be85d367f63 /PhysX_3.4/Source/PhysX/src/NpSceneQueries.cpp | |
| parent | Add ParamTool.exe (diff) | |
| download | physx-3.4-238605d8225a9135d6b60646e05d066e25424eee.tar.xz physx-3.4-238605d8225a9135d6b60646e05d066e25424eee.zip | |
PhysX 3.4, APEX 1.4 patch release @23879214
Diffstat (limited to 'PhysX_3.4/Source/PhysX/src/NpSceneQueries.cpp')
| -rw-r--r-- | PhysX_3.4/Source/PhysX/src/NpSceneQueries.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/PhysX_3.4/Source/PhysX/src/NpSceneQueries.cpp b/PhysX_3.4/Source/PhysX/src/NpSceneQueries.cpp index 45202c2d..a50844c6 100644 --- a/PhysX_3.4/Source/PhysX/src/NpSceneQueries.cpp +++ b/PhysX_3.4/Source/PhysX/src/NpSceneQueries.cpp @@ -819,6 +819,20 @@ bool NpSceneQueries::multiQuery( } } +void NpSceneQueries::sceneQueriesStaticPrunerUpdate(PxBaseTask* ) +{ + PX_PROFILE_ZONE("SceneQuery.sceneQueriesStaticPrunerUpdate", getContextId()); + // run pruner build only, this will build the new tree only, no commit happens + mSQManager.sceneQueryBuildStep(PruningIndex::eSTATIC); +} + +void NpSceneQueries::sceneQueriesDynamicPrunerUpdate(PxBaseTask*) +{ + PX_PROFILE_ZONE("SceneQuery.sceneQueriesDynamicPrunerUpdate", getContextId()); + // run pruner build only, this will build the new tree only, no commit happens + mSQManager.sceneQueryBuildStep(PruningIndex::eDYNAMIC); +} + //explicit template instantiation template bool NpSceneQueries::multiQuery<PxRaycastHit>(const MultiQueryInput&, PxHitCallback<PxRaycastHit>&, PxHitFlags, const PxQueryCache*, const PxQueryFilterData&, PxQueryFilterCallback*, BatchQueryFilterData*) const; template bool NpSceneQueries::multiQuery<PxOverlapHit>(const MultiQueryInput&, PxHitCallback<PxOverlapHit>&, PxHitFlags, const PxQueryCache*, const PxQueryFilterData&, PxQueryFilterCallback*, BatchQueryFilterData*) const; |