You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JoeStrout edited this page Nov 16, 2026
·
3 revisions
Unload a model and its meshes from memory (RAM and VRAM). Shaders and textures used by its materials are not unloaded, as they may be shared; unload those separately
Parameters
Parameter
Default Value
Note
model
Return value
None.
Notes
Example
mesh=raylib.GenMeshCube(1, 1, 1)
model=raylib.LoadModelFromMesh(mesh)
// use model for rendering...raylib.UnloadModelmodel