MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / AfterReset

Method AfterReset

BindlessDeferred/BindlessDeferred.cpp:86–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void BindlessDeferred::AfterReset()
87{
88 float aspect = float(swapChain.Width()) / swapChain.Height();
89 camera.SetAspectRatio(aspect);
90
91 CreateRenderTargets();
92}
93
94void BindlessDeferred::Initialize()
95{

Callers

nothing calls this directly

Calls 3

SetAspectRatioMethod · 0.80
WidthMethod · 0.45
HeightMethod · 0.45

Tested by

no test coverage detected