Texture_mipmapping_generate - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Notation

Description

Generates the given number of subsampled textures and binds them to the texture for mipmapping.

Parameters

  • texid, index of the texture
  • levels, number of mipmapping levels

Return Values

This function has no return values.

Example Call

texture_mipmapping_generate(tex, 8);

Demonstrates generating eight levels of mipmapping on a texture. NOTOC