REVIEWED: DrawMeshInstanced()
This commit is contained in:
parent
c6828070dc
commit
f9bab14fdb
4 changed files with 132 additions and 45 deletions
|
@ -1377,8 +1377,8 @@ RLAPI void UnloadModelKeepMeshes(Model model);
|
|||
|
||||
// Mesh loading/unloading functions
|
||||
RLAPI void UploadMesh(Mesh *mesh, bool dynamic); // Upload vertex data into GPU and provided VAO/VBO ids
|
||||
RLAPI void DrawMesh(Mesh mesh, Material material, Matrix transform); // Draw a 3d mesh with material and transform
|
||||
RLAPI void DrawMeshInstanced(Mesh mesh, Material material, Matrix *transforms, int count); // Draw a 3d mesh with material and transform
|
||||
RLAPI void DrawMesh(Mesh mesh, Material material, Matrix transform); // Draw a 3d mesh with material and transform
|
||||
RLAPI void DrawMeshInstanced(Mesh mesh, Material material, Matrix *transforms, int instances); // Draw multiple mesh instances with material and different transforms
|
||||
RLAPI void UnloadMesh(Mesh mesh); // Unload mesh data from CPU and GPU
|
||||
RLAPI bool ExportMesh(Mesh mesh, const char *fileName); // Export mesh data to file, returns true on success
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue