Skip to content

How to decouple rendering from tick rate? #8539

Answered by nicopap
rowanfr asked this question in Q&A
Discussion options

You must be logged in to vote

You might be interested in fixed_timesteps. (example here). It has some caveats I'm not too familiar with.

If you want however to control the update rate of rendering (for example only render frames when certain events occur), you need to look at winit settings, see usage at this example

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rowanfr
Comment options

Answer selected by rowanfr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
A-ECS Entities, components, systems, and events A-Windowing Platform-agnostic interface layer to run your app in A-Time Involves time keeping and reporting
2 participants