RenderTarget:generateMipmap

From GiderosMobile
Revision as of 13:00, 30 April 2024 by MoKaLux (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2024.3<br/> '''Class:''' RenderTarget<br/> === Description === Tells Gideros to recompute mipmaps. <syntaxhighlight lang="lua"> R...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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