Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define rendering resources #90

Open
1 of 9 tasks
martinjonsson01 opened this issue Apr 4, 2023 · 0 comments
Open
1 of 9 tasks

Define rendering resources #90

martinjonsson01 opened this issue Apr 4, 2023 · 0 comments

Comments

@martinjonsson01
Copy link
Owner

martinjonsson01 commented Apr 4, 2023

Reason

Use resources in the renderer instead of hardcoded constants.

Requirements

  • There is a UpdateRate resource which contains an instance of gfx::time::UpdateRate
  • There is a MainThreadSender resource which contains an instance of Sender<gfx::engine::MainMessage>
  • There is a RenderDataSender resource which contains an instance of RingSender<gfx-plugin::rendering::RenderData>
  • Extract tick_rate_system into a function-system (not a closure) inside the gfx-plugin::rendering module
  • Remove rendering_system_wrapper and have the gfx-plugin::rendering::rendering_system take RenderDataSender as a resource instead
  • Update example code (rendered-ecs.rs) to use delta time
  • Update case studies to use delta time

Dependencies

@martinjonsson01 martinjonsson01 moved this to 🆕 New in RECS Apr 4, 2023
@martinjonsson01 martinjonsson01 changed the title Delta time resource Define rendering resources Apr 4, 2023
@martinjonsson01 martinjonsson01 moved this from 🆕 New to 📋 Backlog in RECS Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant