Skip to content

What is the jaylib equivalent for texture.width ? #51

Open
@gamecubate

Description

@gamecubate

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))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions