summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorjussi2024-09-25 20:54:32 +0300
committerjussi2024-09-25 20:54:32 +0300
commit45e11be96a7503a0cfe29bbbcc8d885d81ab9591 (patch)
treebcd06238db0d83c62f117acca4f8d2d321c31e6a /API.md
parentcd6471d339c394a37a1d46119818e0cabdcf5b42 (diff)
downloadreilua-enhanced-45e11be96a7503a0cfe29bbbcc8d885d81ab9591.tar.gz
reilua-enhanced-45e11be96a7503a0cfe29bbbcc8d885d81ab9591.tar.bz2
reilua-enhanced-45e11be96a7503a0cfe29bbbcc8d885d81ab9591.zip
UnloadMaterial can also optionally free textures and shader.
Diffstat (limited to 'API.md')
-rw-r--r--API.md8
1 files changed, 4 insertions, 4 deletions
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
---