jaylib
jaylib copied to clipboard
What is the jaylib equivalent for texture.width ?
How does one access a texture's inner fields, for example tex.width
and 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.