Renderer: Refactor transient resources (allow access at any time)

This commit is contained in:
SirLynix
2023-07-21 08:51:39 +02:00
committed by Jérôme Leclercq
parent de68033a0e
commit 4db5b59ec9
21 changed files with 265 additions and 240 deletions

View File

@@ -41,6 +41,8 @@ namespace Nz
void Present();
TransientResources& Transient() override;
private:
std::optional<OpenGLRenderPass> m_renderPass;
std::size_t m_currentFrame;