You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is a checklist for cleaning up the Renderer class:
We'll do for sure:
Move to smart pointers instead of raw pointers
clean up things relating to RenderOp::m_FramesLeft as that's not particularly clean/clear right now
Remove some leftover stuff that's in "if (false) {" blocks and unused
Move things that are part of the "Render" namespace (as opposed to Renderer class) into their own file
Design it to support multiple queues of RenderOps, for supporting multiple layers. Could be something like std::map>. Even if only one layer (HUD) is defined initially it would be good to set this up to support that in the future.
Ideas:
Move from std::list to std::vector (better performance?)
Here is a checklist for cleaning up the Renderer class:
We'll do for sure:
Ideas: