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

Method RegisterShutdownFunction

renderdoc/core/core.cpp:1029–1034  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1027}
1028
1029void RenderDoc::RegisterShutdownFunction(ShutdownFunction func)
1030{
1031 auto it = std::lower_bound(m_ShutdownFunctions.begin(), m_ShutdownFunctions.end(), func);
1032 if(it == m_ShutdownFunctions.end() || *it != func)
1033 m_ShutdownFunctions.insert(it - m_ShutdownFunctions.begin(), func);
1034}
1035
1036bool RenderDoc::MatchClosestWindow(DeviceOwnedWindow &devWnd)
1037{

Callers 7

StartMethod · 0.80
WrappedOpenGLMethod · 0.80
gl_emulated.cppFile · 0.80
spirv_editor.cppFile · 0.80
spirv_reflect.cppFile · 0.80
WrappedVulkanMethod · 0.80

Calls 3

beginMethod · 0.45
endMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected