summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorjussi2023-11-20 16:20:11 +0200
committerjussi2023-11-20 16:20:11 +0200
commit7765a23a2c90e6d02f6278eed1b1b9b9375bc941 (patch)
treefaa7dee80e49a327bf04fbb086822b25cf019f88 /API.md
parent50d0e15ff494291779710b120d8f53202aa2ef1f (diff)
downloadreilua-enhanced-7765a23a2c90e6d02f6278eed1b1b9b9375bc941.tar.gz
reilua-enhanced-7765a23a2c90e6d02f6278eed1b1b9b9375bc941.tar.bz2
reilua-enhanced-7765a23a2c90e6d02f6278eed1b1b9b9375bc941.zip
LoadImageRaw, LoadImageAnim and LoadImageFromMemory. Version 0.6.
Diffstat (limited to 'API.md')
-rw-r--r--API.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/API.md b/API.md
index ad5eb3b..f8086af 100644
--- a/API.md
+++ b/API.md
@@ -5271,6 +5271,33 @@ Get collision rectangle for two rectangles collision
Load image from file into CPU memory (RAM)
+- Failure return nil
+- Success return Image
+
+---
+
+> image = RL.LoadImageRaw( string fileName, Vector2 size, int format, int headerSize )
+
+Load image from RAW file data
+
+- Failure return nil
+- Success return Image
+
+---
+
+> image, frameCount = RL.LoadImageAnim( string fileName )
+
+Load image sequence from file (frames appended to image.data). All frames are returned in RGBA format
+
+- Failure return nil
+- Success return Image, int
+
+---
+
+> image, frameCount = RL.LoadImageFromMemory( string fileType, Buffer data )
+
+Load image from memory buffer, fileType refers to extension: i.e. '.png'
+
- Success return Image
---