diff options
| author | jussi | 2024-09-25 20:54:32 +0300 |
|---|---|---|
| committer | jussi | 2024-09-25 20:54:32 +0300 |
| commit | 45e11be96a7503a0cfe29bbbcc8d885d81ab9591 (patch) | |
| tree | bcd06238db0d83c62f117acca4f8d2d321c31e6a /API.md | |
| parent | cd6471d339c394a37a1d46119818e0cabdcf5b42 (diff) | |
| download | reilua-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.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 --- |
