diff options
| author | Ray <[email protected]> | 2021-03-22 20:45:04 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-03-22 20:45:04 +0100 |
| commit | 2ce28f75addd22a5b56dc68738e6a72af74f125d (patch) | |
| tree | 922240e1d418688425ff1a4e4775a8bd2a0985aa /src/raylib.h | |
| parent | 24dae29a0344823e3a8306f0685664f1580a7751 (diff) | |
| download | raylib-2ce28f75addd22a5b56dc68738e6a72af74f125d.tar.gz raylib-2ce28f75addd22a5b56dc68738e6a72af74f125d.zip | |
WARNING: BREAKING: REDESIGNED: rlgl module
- Many functions renamed to follow rl*() convention
- Some internal functions exposed in the API
- Some functionality moved to other modules
- Reorganized all functions by categories
- Make sure it keeps working with OpenGL 1.1 and 2.1
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 8a4466d7..57d306ba 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1244,6 +1244,7 @@ RLAPI void UpdateTexture(Texture2D texture, const void *pixels); RLAPI void UpdateTextureRec(Texture2D texture, Rectangle rec, const void *pixels); // Update GPU texture rectangle with new data 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 SetShapesTexture(Texture2D texture, Rectangle source); // Define default texture used to draw shapes // Texture configuration functions RLAPI void GenTextureMipmaps(Texture2D *texture); // Generate GPU mipmaps for a texture |
