Consolidate render data
BruOp opened this issue · comments
Right now our Mesh
and MaterialInstance
are all part of separate objects that are indirectly assigned to the entity using a component.
Instead, I think I will just consolidate our render objects -- then we don't need access to the entity component system to render them outside of visibility checks, AND for CB data (transforms, additional material data?)
Eventually, I think we can just copy the CB data after the visibility checks and then we really wont need ECS access.