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

Method sendAllProperties

physx/source/physx/src/PvdMetaDataPvdBinding.cpp:521–544  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

519}
520
521void PvdMetaDataBinding::sendAllProperties(PvdDataStream& inStream, const PxPhysics& inPhysics)
522{
523 PxTolerancesScale theScale(inPhysics.getTolerancesScale());
524 doSendAllProperties<PxPhysics, PxTolerancesScaleGeneratedValues>(inStream, &theScale, &inPhysics);
525 inStream.setPropertyValue(&inPhysics, "Version.Major", PxU32(PX_PHYSICS_VERSION_MAJOR));
526 inStream.setPropertyValue(&inPhysics, "Version.Minor", PxU32(PX_PHYSICS_VERSION_MINOR));
527 inStream.setPropertyValue(&inPhysics, "Version.Bugfix", PxU32(PX_PHYSICS_VERSION_BUGFIX));
528
529#if PX_CHECKED
530#if defined(NDEBUG)
531 // This is a checked build
532 String buildType = "Checked";
533#elif defined(_DEBUG)
534 // This is a debug build
535 String buildType = "Debug";
536#endif
537#elif PX_PROFILE
538 String buildType = "Profile";
539#elif defined(NDEBUG)
540 // This is a release build
541 String buildType = "Release";
542#endif
543 inStream.setPropertyValue(&inPhysics, "Version.Build", buildType);
544}
545
546void PvdMetaDataBinding::sendAllProperties(PvdDataStream& inStream, const PxScene& inScene)
547{

Callers 4

sendEntireSDKMethod · 0.80
updatePvdPropertiesMethod · 0.80
operator()Method · 0.80
updatePvdPropertiesMethod · 0.80

Calls 15

getTolerancesScaleMethod · 0.80
getLimitsMethod · 0.80
getStaticStructureMethod · 0.80
getDynamicStructureMethod · 0.80
pushBackObjectRefMethod · 0.80
getNbRowsMethod · 0.80
getNbColumnsMethod · 0.80
saveCellsMethod · 0.80
setPropertyValueMethod · 0.45
getGravityMethod · 0.45

Tested by

no test coverage detected