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

Make FPS updates activatable at runtime #510

Open
pecoram opened this issue Jan 31, 2025 · 1 comment
Open

Make FPS updates activatable at runtime #510

pecoram opened this issue Jan 31, 2025 · 1 comment
Assignees

Comments

@pecoram
Copy link
Contributor

pecoram commented Jan 31, 2025

Currently, renderOptions.fpsUpdateInterval enables FPS updates when set to a value different from 0, but it can only be defined at creation time and cannot be modified dynamically.

It would be beneficial to allow changing this value at runtime, enabling or disabling performance monitoring without requiring a complete reinitialization.

Use Case:
In some scenarios, developers may want to enable FPS monitoring only under specific conditions (e.g., debugging or performance profiling) and disable it dynamically when not needed at runtime.

@michielvandergeest
Copy link
Contributor

@pecoram yes this is a valid use case and it makes sense to enable this behaviour

I've discussed the issue with @Drulokia and we'll be expanding on this request by making all renderer settings updatable during runtime (those where it makes sense at least), versus a one time setting at initialisation as it is now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants