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

Don't keep texture data in memory unless it's necessary #42

Closed
in0finite opened this issue Oct 10, 2019 · 1 comment
Closed

Don't keep texture data in memory unless it's necessary #42

in0finite opened this issue Oct 10, 2019 · 1 comment

Comments

@in0finite
Copy link
Owner

When loading textures, specify whether you need them to be kept in memory or not. Usually, they don't need to be in memory, or their data is needed for temporary calculations (flipping the texture).

In case of temporary calculations, when calling Apply(), texture should no longer be kept in memory.

This should greatly reduce amount of memory the application uses.

@in0finite
Copy link
Owner Author

Done

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

No branches or pull requests

1 participant