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

Fixed editor view rendering to properly skip drawing a view if it's not visible #334

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

adriengivry
Copy link
Owner

Description

Added a IsVisible method to the PanelWindow, and used it to skip view rendering if the view isn't visible.
This mostly doubles the framerate in the editor! We don't have to render the scene view and game view at all time.

Related Issues

N/A

@adriengivry adriengivry added QoL Quality of Life : Something that can improve users productivity Optimization Optimization related stuff Graphics Graphical feature labels Nov 26, 2024
@adriengivry adriengivry self-assigned this Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Graphics Graphical feature Optimization Optimization related stuff QoL Quality of Life : Something that can improve users productivity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant