diff options
| author | Ray <[email protected]> | 2019-08-07 00:28:05 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2019-08-07 00:28:05 +0200 |
| commit | 2a913b6587d60dab64c3b81019990e6872a9ac75 (patch) | |
| tree | 375ec08ac3baf44bacd5fe5bf886f785faf4024b /src/raylib.h | |
| parent | 042499188c55030cb675df2ac135cf8b71e841dd (diff) | |
| download | raylib-2a913b6587d60dab64c3b81019990e6872a9ac75.tar.gz raylib-2a913b6587d60dab64c3b81019990e6872a9ac75.zip | |
ADDED: GetImageAlphaBorder()
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 798d6d89..dd3ef86c 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1095,6 +1095,7 @@ RLAPI void UnloadTexture(Texture2D texture); RLAPI void UnloadRenderTexture(RenderTexture2D target); // Unload render texture from GPU memory (VRAM) RLAPI Color *GetImageData(Image image); // Get pixel data from image as a Color struct array RLAPI Vector4 *GetImageDataNormalized(Image image); // Get pixel data from image as Vector4 array (float normalized) +RLAPI Rectangle GetImageAlphaBorder(Image image); // Get image alpha border rectangle 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) |
