Open gamecubate opened 1 year ago
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))
I wondered the same thing. It appears to not be implemented so I did a quick fix for my project.
How does one access a texture's inner fields, for example
tex.width
andtex.height
?