mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-12 06:18:14 +00:00
ADDED: UploadMesh() #1529
Upload mesh data to GPU and get VAO/VBO identifiers
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user