diff options
| author | raysan5 <[email protected]> | 2020-07-10 13:59:01 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2020-07-10 13:59:01 +0200 |
| commit | c57323f29ccc207f53c52cfe3df7ac0db5f5c113 (patch) | |
| tree | cfc9b78061b7765fa580679de3350f7d730aa624 /src/raylib.h | |
| parent | fa7799143e7381bc9334c54b77266367532a8dc0 (diff) | |
| download | raylib-c57323f29ccc207f53c52cfe3df7ac0db5f5c113.tar.gz raylib-c57323f29ccc207f53c52cfe3df7ac0db5f5c113.zip | |
ADDED: LoadImageAnim() to load animated sequence of images
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h index 4359147a..49c7ba6a 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1099,6 +1099,7 @@ RLAPI bool CheckCollisionPointTriangle(Vector2 point, Vector2 p1, Vector2 p2, Ve RLAPI Image LoadImage(const char *fileName); // Load image from file into CPU memory (RAM) RLAPI Image LoadImageEx(Color *pixels, int width, int height); // Load image from Color array data (RGBA - 32bit) RLAPI Image LoadImageRaw(const char *fileName, int width, int height, int format, int headerSize); // Load image from RAW file data +RLAPI Image LoadImageAnim(const char *fileName, int *frames); // Load image sequence from file (frames appended to image.data) RLAPI void UnloadImage(Image image); // Unload image from CPU memory (RAM) RLAPI void ExportImage(Image image, const char *fileName); // Export image data to file RLAPI void ExportImageAsCode(Image image, const char *fileName); // Export image as code file defining an array of bytes |
