-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
Milestone
Description
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?)
- Transfrom RenderString and std::list to RenderOp?
Reactions are currently unavailable