From 45e11be96a7503a0cfe29bbbcc8d885d81ab9591 Mon Sep 17 00:00:00 2001 From: jussi Date: Wed, 25 Sep 2024 20:54:32 +0300 Subject: UnloadMaterial can also optionally free textures and shader. --- API.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'API.md') diff --git a/API.md b/API.md index 93c0374..761ab4d 100644 --- a/API.md +++ b/API.md @@ -2782,7 +2782,7 @@ Default projection matrix near cull distance --- -> RL_CULL_DISTANCE_FAR = 1000.0 +> RL_CULL_DISTANCE_FAR = 1000 Default projection matrix far cull distance @@ -7381,7 +7381,7 @@ Check if a model is ready > RL.UnloadModel( Model model ) -Unload model (including meshes) from memory (RAM and/or VRAM) +Unload model (meshes/materials) from memory (RAM and/or VRAM) --- @@ -7774,9 +7774,9 @@ Check if a material is ready --- -> RL.UnloadMaterial( Material material ) +> RL.UnloadMaterial( Material material, bool freeAll ) -Unload material from GPU memory (VRAM) +Unload material from GPU memory (VRAM). Note! Use freeAll to unload shaders and textures --- -- cgit v1.2.3