Datatype · Userdata

Image

userdatasince 1.7.5-alpha

A GPU-resident image handle. Created with the image library and usable by immediate.image. Madius-specific datatype.

Properties

4
NameTypeAccessDescription
Widthnumberread

The width of the image in pixels.

since 1.7.5-alpha
Heightnumberread

The height of the image in pixels.

since 1.7.5-alpha
IsValidbooleanread

Whether the underlying GPU texture is valid. A handle becomes invalid after image.unload is called on its cache entry, or if the original load failed.

since 1.7.5-alpha
Namestringread

The cache name this image was registered under, or an empty string for anonymous images.

since 1.7.5-alpha