MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / TaaJitterRemoveContext

Method TaaJitterRemoveContext

Source/Engine/Graphics/RenderView.cpp:226–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226TaaJitterRemoveContext::TaaJitterRemoveContext(const RenderView& view)
227{
228 if (view.IsTaaResolved)
229 {
230 // Cancel-out sub-pixel jitter when drawing geometry after TAA has been resolved
231 _view = (RenderView*)&view;
232 _prevProjection = view.Projection;
233 _prevNonJitteredProjection = view.NonJitteredProjection;
234 _view->Projection = _prevNonJitteredProjection;
235 _view->UpdateCachedData();
236 }
237}
238
239TaaJitterRemoveContext::~TaaJitterRemoveContext()
240{

Callers

nothing calls this directly

Calls 1

UpdateCachedDataMethod · 0.45

Tested by

no test coverage detected