Currently, these calls do a lot, including making backend calls. Instead, the calls can simply become a uniform shadow memory update in the program with some dirty bits. When the program is drawn with next, it can process all those uniforms at once.
-- You received this message because: 1. The project was configured to send all issue notifications to this address
Cleanup: replace DirtyObjectType check with constexpr generator
Static assert was meant to avoid kDirtyObjectHandlers getting out of sync, but it doesn't achieve that goal as it's just comparing values with ints which is confusing.
Replacing with constexpr generated std::array. C++20 allows to easily validate that all values are set by _not_ default-initializing `handlers`. C++17 makes it trickier, addeded static_assert on an additional static constexpr bool (silly but I can't find a more concise way)