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

Method getNext

physx/source/common/src/CmBitMap.h:360–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358 }
359
360 PX_FORCE_INLINE PxU32 getNext()
361 {
362 PX_ASSERT(mIndex<mWordCount && mBlock != 0);
363 PxU32 result = PxU32(mIndex) << 5 | Ps::lowestSetBit(mBlock); // will assert if mask is zero
364 mBlock &= (mBlock - 1);
365 return result;
366 }
367
368 private:
369 const PxU32*const mMap;

Callers

nothing calls this directly

Calls 1

lowestSetBitFunction · 0.85

Tested by

no test coverage detected