MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / addClient

Method addClient

deps/physx/physx/source/pvd/src/PxPvdImpl.cpp:235–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235void PvdImpl::addClient(PvdClient* client)
236{
237 PX_ASSERT(client);
238 for(uint32_t i = 0; i < mPvdClients.size(); i++)
239 {
240 if(client == mPvdClients[i])
241 return;
242 }
243 mPvdClients.pushBack(client);
244 if(mIsConnected)
245 {
246 client->onPvdConnected();
247 }
248}
249
250void PvdImpl::removeClient(PvdClient* client)
251{

Callers 5

PxInitExtensionsFunction · 0.45
createInstanceMethod · 0.45
createSceneMethod · 0.45
createInstanceMethod · 0.45
onPvdConnectedMethod · 0.45

Calls 3

sizeMethod · 0.45
pushBackMethod · 0.45
onPvdConnectedMethod · 0.45

Tested by

no test coverage detected