diff options
| author | Ray <[email protected]> | 2021-01-22 12:16:19 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-01-22 12:16:19 +0100 |
| commit | f4f208c4aeab5ee4c7e441714fdf6938dca3c24d (patch) | |
| tree | 7d2bf33a1d185d4ccd5ecf9c21431a2e7cf18f90 /src/raylib.h | |
| parent | 721768bdb02dbbe6875dd46af065298faa74f9c1 (diff) | |
| download | raylib-f4f208c4aeab5ee4c7e441714fdf6938dca3c24d.tar.gz raylib-f4f208c4aeab5ee4c7e441714fdf6938dca3c24d.zip | |
ADDED: UploadMesh() #1529
Upload mesh data to GPU and get VAO/VBO identifiers
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 1bc1fe8b..a2e5c63b 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1339,6 +1339,7 @@ RLAPI void UnloadModelKeepMeshes(Model model); // Mesh loading/unloading functions RLAPI Mesh *LoadMeshes(const char *fileName, int *meshCount); // Load meshes from model file +RLAPI void UploadMesh(Mesh *mesh); // Upload mesh vertex data to GPU (VRAM) RLAPI void UnloadMesh(Mesh mesh); // Unload mesh from memory (RAM and/or VRAM) RLAPI bool ExportMesh(Mesh mesh, const char *fileName); // Export mesh data to file, returns true on success |
