Load image from texture and screen.

This commit is contained in:
jussi
2022-03-24 19:11:55 +02:00
parent 3aa949f3f5
commit 55ad8773ec
4 changed files with 81 additions and 0 deletions

17
API.md
View File

@@ -1596,6 +1596,23 @@ Load image from file into CPU memory ( RAM )
---
> image = RL_LoadImageFromTexture( Texture2D texture )
Load image from GPU texture data
- Failure return -1
- Success return int
---
> image = RL_LoadImageFromScreen()
Load image from screen buffer and ( screenshot )
- Success return int
---
> image = RL_GenImageColor( int width, int height, Color color )
Generate image: plain color