Lysa  0.0
Lysa 3D Engine
Image Struct Reference

Detailed Description

A GPU-uploaded image (texture) managed by the ImageManager.

Lua full name: lysa.Image

Properties

integer id
 Unique image identifier.
 
integer width
 Image width in pixels. (read-only)
 
integer height
 Image height in pixels. (read-only)
 
integer size
 Total image size in bytes. (read-only)
 
string name
 Image name or source URI. (read-only)
 
integer index
 Index of this image in the GPU bindless descriptor array. (read-only)
 
any image
 Backend image handle (lightuserdata, platform-specific).
 

Property Documentation

integer id

Unique image identifier.

integer width

Image width in pixels. (read-only)

integer height

Image height in pixels. (read-only)

integer size

Total image size in bytes. (read-only)

string name

Image name or source URI. (read-only)

integer index

Index of this image in the GPU bindless descriptor array. (read-only)

any image

Backend image handle (lightuserdata, platform-specific).