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

Function copy

physx/source/common/src/CmBitMap.h:216–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214 PxU32 size() const { return getWordCount()*32; }
215
216 void copy(const BitMapBase& a)
217 {
218 extendUninitialized(a.getWordCount()<<5);
219 PxMemCopy(mMap, a.mMap, a.getWordCount() * sizeof(PxU32));
220 if(getWordCount() > a.getWordCount())
221 PxMemSet(mMap + a.getWordCount(), 0, (getWordCount() - a.getWordCount()) * sizeof(PxU32));
222 }
223
224 PX_INLINE PxU32 count() const
225 {

Callers 12

AllocMethod · 0.85
ArrayMethod · 0.85
ArrayClass · 0.85
assignMethod · 0.85
copyMethod · 0.85
PsArray.hFile · 0.85
recreateMethod · 0.85
PxControllerDescFunction · 0.85
PxBoxController.hFile · 0.85
PxControllerDescFunction · 0.85
PxController.hFile · 0.85

Calls 3

PxMemCopyFunction · 0.85
getWordCountFunction · 0.85
PxMemSetFunction · 0.85

Tested by

no test coverage detected