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

Function insertRendering

src/dll/taa.cpp:161–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161static void insertRendering(ID3D11DeviceContext *const context, const std::function<void(ID3D11DeviceContext *)> &fn)
162{
163 ZoneScopedN(__FUNCTION__);
164
165 fn(g_deferred_context);
166
167 CComPtr<ID3D11CommandList> commandList = nullptr;
168 g_deferred_context->FinishCommandList(true, &commandList);
169 context->ExecuteCommandList(commandList, true);
170}
171
172//const char *const s_taaString = "Temporal Anti-Aliasing";
173

Callers 1

taaOnDrawFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected