From 79ceaa5de445c68c7c1904aa14baae741b271707 Mon Sep 17 00:00:00 2001 From: Paul Melis Date: Mon, 3 Jun 2024 20:46:24 +0200 Subject: [PATCH] Add to GenModelMipmaps() to raylib.h --- src/raylib.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/raylib.h b/src/raylib.h index dfa98efb8..9ca7b57bf 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1400,6 +1400,7 @@ RLAPI void UpdateTextureRec(Texture2D texture, Rectangle rec, const void *pixels // Texture configuration functions RLAPI void GenTextureMipmaps(Texture2D *texture); // Generate GPU mipmaps for a texture +RLAPI void GenModelMipmaps(Model model); // Generate GPU mipmaps for all textures used in a model, as well as enable appropriate texture filtering RLAPI void SetTextureFilter(Texture2D texture, int filter); // Set texture scaling filter mode RLAPI void SetTextureWrap(Texture2D texture, int wrap); // Set texture wrapping mode