From 59fd2614916249ad5a229f032cb92f34692ca29b Mon Sep 17 00:00:00 2001 From: Ray San Date: Tue, 12 Jun 2018 13:13:09 +0200 Subject: Added function: GetImageDataNormalized() Reviewed: GetImageData() Reviewed: ImageFormat() --- release/include/raylib.h | 1 + 1 file changed, 1 insertion(+) (limited to 'release/include/raylib.h') diff --git a/release/include/raylib.h b/release/include/raylib.h index 86ad5408..e0cfaa6d 100644 --- a/release/include/raylib.h +++ b/release/include/raylib.h @@ -899,6 +899,7 @@ RLAPI void UnloadImage(Image image); RLAPI void UnloadTexture(Texture2D texture); // Unload texture from GPU memory (VRAM) 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 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 void UpdateTexture(Texture2D texture, const void *pixels); // Update GPU texture with new data -- cgit v1.2.3