Skip to content

cf_generate_mipmaps

Category: graphics
GitHub: cute_graphics.h


Generates all remaining mip levels from the base level of the texture.

void cf_generate_mipmaps(CF_Texture texture);
Parameters Description
texture The texture to generate mipmaps for.

Remarks

This is useful when the base level has been updated manually (e.g., for dynamic or render target textures) and you want to downsample to fill in the full mip chain.

CF_TextureParams
CF_Texture
cf_make_texture
cf_destroy_texture
cf_texture_update
cf_texture_update_mip