MCPcopy Create free account
hub / github.com/aliasIsolation/aliasIsolation / unhookRendering

Function unhookRendering

src/dll/rendering.cpp:405–416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403}
404
405void unhookRendering()
406{
407 ShaderRegistry::stopCompilerThread();
408 disableShaderHooks();
409 MH_DisableHook(g_d3dHooks.D3D11CreateDeviceAndSwapChain);
410 disableMethodHook(g_d3dHooks.CreatePixelShader);
411 disableMethodHook(g_d3dHooks.CreateVertexShader);
412 disableMethodHook(g_d3dHooks.CreateSamplerState);
413 disableMethodHook(g_d3dHooks.ResizeBuffers);
414
415 TracyD3D11Destroy(g_tracyD3D11Ctx);
416}

Callers 1

DllMainFunction · 0.85

Calls 3

stopCompilerThreadFunction · 0.85
disableShaderHooksFunction · 0.85
disableMethodHookFunction · 0.85

Tested by

no test coverage detected