Skip to content

2d Renderer #1

@lylythechosenone

Description

@lylythechosenone

Some plans for a 2d renderer:

  • A Camera2d struct which houses wgpu state
  • A renderer module that does the following steps:
    • Create RenderObjects for all sprites (get indices for pipelines, render textures, get transform)
    • Create Renderables for all RenderObjects (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 the renderer module to render the scene.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions