diff options
| author | Ray <[email protected]> | 2020-09-13 15:37:15 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2020-09-13 15:37:15 +0200 |
| commit | 768b29dd747ef8043eea981cfb968d9eb1acb5ab (patch) | |
| tree | e5b1c1dd8e7767a31b4fa62cfbb176cc21dfc6f6 /src/raylib.h | |
| parent | cb8cbb038b75ead6b8d580310b91dec39e5c3c6d (diff) | |
| download | raylib-768b29dd747ef8043eea981cfb968d9eb1acb5ab.tar.gz raylib-768b29dd747ef8043eea981cfb968d9eb1acb5ab.zip | |
ADDED: LoadImageFromMemory() #1327
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 5f981d6e..6dddef26 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1106,6 +1106,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 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 Image LoadImageFromMemory(const char *fileType, const char *fileData, int dataSize); // Load image from memory buffer, fileType refers to extension: i.e. "png" 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 |
