ADDED: GetScreenData()
This commit is contained in:
parent
2a92d6af3e
commit
f02a0334d8
2 changed files with 15 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue