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

Method UnregisterReplacement

qrenderdoc/Code/CaptureContext.cpp:1699–1711  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1697}
1698
1699void CaptureContext::UnregisterReplacement(ResourceId id)
1700{
1701 auto it = m_OrigToReplacedResources.find(id);
1702 if(it != m_OrigToReplacedResources.end())
1703 {
1704 m_ReplacedToOrigResources.remove(it.value());
1705 m_OrigToReplacedResources.remove(it.key());
1706 }
1707
1708 CacheResources();
1709
1710 RefreshUIStatus({}, true, true);
1711}
1712
1713void CaptureContext::RefreshUIStatus(const rdcarray<ICaptureViewer *> &exclude,
1714 bool updateSelectedEvent, bool updateEvent)

Callers

nothing calls this directly

Calls 5

findMethod · 0.45
endMethod · 0.45
removeMethod · 0.45
valueMethod · 0.45
keyMethod · 0.45

Tested by

no test coverage detected