Skip to content

raylib.GenTextureMipmaps

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Generate GPU mipmaps for a texture

Parameters

Parameter Default Value Note
texture

Return value

None.

Notes

Example

tex = raylib.LoadTexture("sprite.png")
raylib.GenTextureMipmaps tex
// tex now has GPU mipmaps generated
raylib.UnloadTexture tex

Clone this wiki locally