Page 1 of 1

Is there a way to explicitly set mipmap level on an image?

Posted: Wed Feb 23, 2022 5:39 pm
by bizziboi
Hi,

For a small tool I'd like to be able to flip through the mip levels of a texture.

I know I can do it by setting the mip filter mode to nearest and bias it based on scale, but is there a way to set it directly on an imageobject like one would do with GL_TEXTURE_BASE_LEVEL and GL_TEXTURE_MAX_LEVEL? It would just feel less hacky, but I don't think one can?