void VisualDebugger::onPvdConnected( physx::debugger::comm::PvdConnection& inFactory ) { if(!mPvdConnection) return; updateScenesPvdConnection(); sendEntireSDK(); }
void VisualDebugger::onPvdConnected( physx::debugger::comm::PvdConnection& /*inFactory */) { if(!mPvdDataStream) return; updateScenesPvdConnection(); sendEntireSDK(); Ps::atomicExchange(&mIsConnected, 1); }
void VisualDebugger::onPvdConnected( PVD::PvdConnection* inFactory ) { PVD::PvdConnection* cf( inFactory ); if(!cf) return; if(mPvdConnection && mPvdConnectionFactory) disconnect(); mPvdConnectionFactory = cf; mPvdConnection = mPvdConnectionFactory->createDataStream(); if(!mPvdConnection) return; mPvdConnectionFactory->addRef(); mPvdConnection->addRef(); mPvdConnection->setNamespace( getPhysxNamespace() ); updateScenesPvdConnection(); sendClassDescriptions(); sendEntireSDK(); }