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

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
bizziboi
Citizen
Posts: 57
Joined: Sat Apr 16, 2011 9:24 am

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

Post 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?
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests