love.image (简体中文)
为图像数据提供接口
Contents
类型
CompressedImageData | Compressed image data designed to stay compressed in RAM and on the GPU. |
ImageData | Raw (decoded) image data. |
函数
love.image.isCompressed | Determines whether a file can be loaded as CompressedImageData. |
love.image.newCompressedData | Create a new CompressedImageData object from a compressed image file. |
love.image.newEncodedImageData | Encodes ImageData. |
love.image.newImageData | Creates a new ImageData object. |
枚举
CompressedImageFormat | Compressed image data formats. |
ImageEncodeFormat | Image file formats supported by ImageData:encode. |
PixelFormat | Pixel formats for Textures, ImageData, and CompressedImageData. |
参考
- love (简体中文)
- Image - the love.graphics data type
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info