MCPcopy Create free account
hub / github.com/baldurk/renderdoc / isUnshareableDeviceInUse

Method isUnshareableDeviceInUse

qrenderdoc/Windows/MainWindow.cpp:3326–3338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3324}
3325
3326bool MainWindow::isUnshareableDeviceInUse()
3327{
3328 if(!m_Ctx.Replay().CurrentRemote().Protocol())
3329 return false;
3330
3331 rdcstr host = m_Ctx.Replay().CurrentRemote().Hostname();
3332
3333 if(m_Ctx.Replay().CurrentRemote().Protocol()->SupportsMultiplePrograms(host))
3334 return false;
3335
3336 uint32_t ident = RENDERDOC_EnumerateRemoteTargets(host, 0);
3337 return ident != 0;
3338}

Callers

nothing calls this directly

Calls 3

CurrentRemoteMethod · 0.80

Tested by

no test coverage detected