Skip to content

[GRAPHICS] Texture atlas unused texture clearing #1157

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

Open
katajakasa opened this issue Apr 7, 2025 · 0 comments
Open

[GRAPHICS] Texture atlas unused texture clearing #1157

katajakasa opened this issue Apr 7, 2025 · 0 comments

Comments

@katajakasa
Copy link
Member

Make the texture atlas do deletions on unused textures (GC with LRU when full?), and stop clearing it between scenes.

Note -- it might be a better idea to just create a new atlas and copy texture over. Ideally, we keep objects in the atlas UNTIL it becomes full and we need the space.

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

No branches or pull requests

1 participant