91 const ShapeHandle* created, PxU32 createdSize,
92 const ShapeHandle* updated, PxU32 updatedSize,
93 const ShapeHandle* removed, PxU32 removedSize,
94 const PxBounds3* boxBounds,
const Bp::FilterGroup::Enum* boxGroups,
const PxReal* boxContactDistances, PxU32 boxesCapacity,
100 mCreatedSize (createdSize),
102 mUpdatedSize (updatedSize),
104 mRemovedSize (removedSize),
105 mBoxBounds (boxBounds),
106 mBoxGroups (boxGroups),
107 mBoxDistances (boxContactDistances),
108 mBoxesCapacity (boxesCapacity),
110 mStateChanged (stateChanged),
111 mGpuStateChanged(gpuStateChanged)
116 mCreated (other.mCreated),
117 mCreatedSize (other.mCreatedSize),
118 mUpdated (other.mUpdated),
119 mUpdatedSize (other.mUpdatedSize),
120 mRemoved (other.mRemoved),
121 mRemovedSize (other.mRemovedSize),
122 mBoxBounds (other.mBoxBounds),
123 mBoxGroups (other.mBoxGroups),
124 mBoxDistances (other.mBoxDistances),
125 mBoxesCapacity (other.mBoxesCapacity),
126 mFilter (other.mFilter),
127 mStateChanged (other.mStateChanged),
128 mGpuStateChanged(other.mGpuStateChanged)
132 BroadPhaseUpdateData& operator=(
const BroadPhaseUpdateData& other);
134 PX_FORCE_INLINE const ShapeHandle* getCreatedHandles()
const {
return mCreated; }
135 PX_FORCE_INLINE PxU32 getNumCreatedHandles()
const {
return mCreatedSize; }
137 PX_FORCE_INLINE const ShapeHandle* getUpdatedHandles()
const {
return mUpdated; }
138 PX_FORCE_INLINE PxU32 getNumUpdatedHandles()
const {
return mUpdatedSize; }
140 PX_FORCE_INLINE const ShapeHandle* getRemovedHandles()
const {
return mRemoved; }
141 PX_FORCE_INLINE PxU32 getNumRemovedHandles()
const {
return mRemovedSize; }
143 PX_FORCE_INLINE const PxBounds3* getAABBs()
const {
return mBoxBounds; }
144 PX_FORCE_INLINE const Bp::FilterGroup::Enum* getGroups()
const {
return mBoxGroups; }
145 PX_FORCE_INLINE const PxReal* getContactDistance()
const {
return mBoxDistances; }
151 PX_FORCE_INLINE bool getGpuStateChanged()
const {
return mGpuStateChanged; }
154 static bool isValid(
const BroadPhaseUpdateData& updateData,
const BroadPhase& bp,
const bool skipBoundValidation, PxU64 contextID);
155 bool isValid(
const bool skipBoundValidation)
const;
160 const ShapeHandle* mCreated;
161 const PxU32 mCreatedSize;
163 const ShapeHandle* mUpdated;
164 const PxU32 mUpdatedSize;
166 const ShapeHandle* mRemoved;
167 const PxU32 mRemovedSize;
169 const PxBounds3* mBoxBounds;
170 const Bp::FilterGroup::Enum* mBoxGroups;
171 const PxReal* mBoxDistances;
172 const PxU32 mBoxesCapacity;
174 const BpFilter& mFilter;
176 const bool mStateChanged;
177 const bool mGpuStateChanged;
BroadPhaseUpdateData(const ShapeHandle *created, PxU32 createdSize, const ShapeHandle *updated, PxU32 updatedSize, const ShapeHandle *removed, PxU32 removedSize, const PxBounds3 *boxBounds, const Bp::FilterGroup::Enum *boxGroups, const PxReal *boxContactDistances, PxU32 boxesCapacity, const BpFilter &filter, bool stateChanged, bool gpuStateChanged)
A structure detailing the changes to the collection of aabbs, whose overlaps are computed in the broa...
Definition BpBroadPhaseUpdate.h:90
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39