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

Added ' texture_to_file' feature to save as png textures or render textures #107

Merged
merged 4 commits into from
Jun 24, 2022

Conversation

Nazariglez
Copy link
Owner

This PR adds Texture::to_file and RenderTexture::to_file to export as png the content of the textures.
It also adds some debug checks to warn the user when do something silly with Graphics that it can cause undefined behavior.

@Nazariglez Nazariglez merged commit b3531e7 into develop Jun 24, 2022
@Nazariglez Nazariglez deleted the f/export branch June 24, 2022 21:18
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

Successfully merging this pull request may close these issues.

1 participant