We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How does one access a texture's inner fields, for example tex.width and tex.height ?
tex.width
tex.height
(def img (load-image-1 "raylib.png")) (def tex (load-texture-from-image img)) (unload-image img) # This doesn't work (def w (get tex :width)) (def h (get tex :height))
The text was updated successfully, but these errors were encountered:
I wondered the same thing. It appears to not be implemented so I did a quick fix for my project.
Sorry, something went wrong.
Merge pull request #62 from bramtechs/master
c47d417
Suggestion: Get texture2d width and height (issue #51)
No branches or pull requests
How does one access a texture's inner fields, for example
tex.width
andtex.height
?The text was updated successfully, but these errors were encountered: