-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.UnloadModel
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Unload model (meshes/materials) from memory (RAM and/or VRAM) NOTE: This function takes care of all model elements, for a detailed control over them, use UnloadMesh() and UnloadMaterial()
| Parameter | Default Value | Note |
|---|---|---|
| model |
None.
mesh = raylib.GenMeshCube(1, 1, 1)
model = raylib.LoadModelFromMesh(mesh)
// use model for rendering...
raylib.UnloadModel model