Loading is asynchronous.
width and height are 0 until ready is true, and render.image draws nothing before that.Loading
constructor
path is relative to the script folder. A missing file throws Error with code ENOENT.
width and height only apply to SVG and set its raster size.
fromMemory
data is copied, so you can reuse it.
Properties
toString() gives something like Texture(64x64, ready, "C:/…/logo.svg").