diff options
| author | raysan5 <[email protected]> | 2019-03-17 11:58:02 +0100 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2019-03-17 11:58:02 +0100 |
| commit | f02a0334d8f86277916c52b274a0c7c21b6b9cd0 (patch) | |
| tree | 16908af74bd78e66108f72d460b5209f5e06893f /src/raylib.h | |
| parent | 2a92d6af3e63fcc47d1030c1274223afb4163a4b (diff) | |
| download | raylib-f02a0334d8f86277916c52b274a0c7c21b6b9cd0.tar.gz raylib-f02a0334d8f86277916c52b274a0c7c21b6b9cd0.zip | |
ADDED: GetScreenData()
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 ccdb4aab..c72f0682 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1095,6 +1095,7 @@ RLAPI Color *GetImageData(Image image); RLAPI Vector4 *GetImageDataNormalized(Image image); // Get pixel data from image as Vector4 array (float normalized) RLAPI int GetPixelDataSize(int width, int height, int format); // Get pixel data size in bytes (image or texture) RLAPI Image GetTextureData(Texture2D texture); // Get pixel data from GPU texture and return an Image +RLAPI Image GetScreenData(void); // Get pixel data from screen buffer and return an Image (screenshot) RLAPI void UpdateTexture(Texture2D texture, const void *pixels); // Update GPU texture with new data // Image manipulation functions |
