RenderTarget:generateMipmap

From GiderosMobile

Available since: Gideros 2024.3
Class: RenderTarget

Description

Tells Gideros to recompute mipmaps.

RenderTarget:generateMipmap()

Example

local rt=RenderTarget.new(width, height, true, { mipmap=true } )
rt:draw(something)
rt:generateMipmap() -- recompute mipmaps