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

Function disableShaderHooks

src/dll/rendering.cpp:57–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void disableShaderHooks()
58{
59 ZoneScopedN(__FUNCTION__);
60
61 if (g_shaderHooksEnabled)
62 {
63 disableMethodHook(g_d3dHooks.PSSetShader);
64 disableMethodHook(g_d3dHooks.VSSetShader);
65 disableMethodHook(g_d3dHooks.Draw);
66
67 taaDisableApiHooks();
68
69 g_shaderHooksEnabled = false;
70 }
71}
72
73// ----------------------------------------------------------------------------------------------------------------
74

Callers 2

terminationWatchThreadFunction · 0.85
unhookRenderingFunction · 0.85

Calls 2

disableMethodHookFunction · 0.85
taaDisableApiHooksFunction · 0.85

Tested by

no test coverage detected