139 PxU32 dynamicTreeRebuildRateHint,
float inflation,
143 PrunerData addPrunerShape(
const Gu::PrunerPayload& payload,
bool dynamic, PrunerCompoundId compoundId,
const PxBounds3& bounds,
const PxTransform& transform,
bool hasPruningStructure=
false);
145 void markForUpdate(PrunerCompoundId compoundId, PrunerData s,
const PxTransform& transform);
153 void preallocate(PxU32 prunerIndex, PxU32 nbShapes);
155 void setDynamicTreeRebuildRateHint(PxU32 dynTreeRebuildRateHint);
156 PX_FORCE_INLINE PxU32 getDynamicTreeRebuildRateHint()
const {
return mRebuildRateHint; }
159 void forceRebuildDynamicTree(PxU32 prunerIndex);
161 void updateCompoundActor(PrunerCompoundId compoundId,
const PxTransform& compoundTransform);
164 void* prepareSceneQueriesUpdate(PruningIndex::Enum index);
165 void sceneQueryBuildStep(
void* handle);
167 void sync(
const Gu::PrunerHandle* handles,
const PxU32* boundsIndices,
const PxBounds3* bounds,
const PxTransform32* transforms, PxU32 count,
const PxBitMap& ignoredIndices);
168 void afterSync(
bool buildStep,
bool commit);
169 void shiftOrigin(
const PxVec3& shift);
173 PX_FORCE_INLINE PxU32 getStaticTimestamp()
const {
return mStaticTimestamp; }
177 PrunerExt mPrunerExt[PruningIndex::eCOUNT];
180 const PxU64 mContextID;
181 PxU32 mStaticTimestamp;
182 PxU32 mRebuildRateHint;
183 const float mInflation;
187 volatile bool mPrunerNeedsUpdating;
190 PX_FORCE_INLINE void invalidateStaticTimestamp() { mStaticTimestamp++; }
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39