Open lylythechosenone opened 1 year ago
Some plans for a 2d renderer:
- [x] A
Camera2d
struct which houses wgpu state- [ ] A
renderer
module that does the following steps:
- [x] Create
RenderObject
s for all sprites (get indices for pipelines, render textures, get transform)- [ ] Create
Renderable
s for allRenderObjects
(create vertex buffer, get indices in vertex buffer, could be merged with the above in the future)- [ ] A
renderer_2d
system that queries for cameras and sprites, then uses therenderer
module to render the scene.
?
Some plans for a 2d renderer:
Camera2d
struct which houses wgpu staterenderer
module that does the following steps:RenderObject
s for all sprites (get indices for pipelines, render textures, get transform)Renderable
s for allRenderObjects
(create vertex buffer, get indices in vertex buffer, could be merged with the above in the future)renderer_2d
system that queries for cameras and sprites, then uses therenderer
module to render the scene.