Mipmap filtering modes that are supported by pixi.
The {@link PIXI.settings.MIPMAP_TEXTURES} affects default texture filtering.
Mipmaps are generated for a baseTexture if its mipmap field is ON,
or its POW2 and texture dimensions are powers of 2.
Due to platform restriction, ON option will work like POW2 for webgl-1.
This property only affects WebGL.
name
MIPMAP_MODES
memberof
PIXI
static
property
{number} OFF - No mipmaps
property
{number} POW2 - Generate mipmaps if texture dimensions are pow2
property
{number} ON - Always generate mipmaps
property
{number} ON_MANUAL - Use mipmaps, but do not auto-generate them; this is used with a resource
that supports buffering each level-of-detail.
Mipmap filtering modes that are supported by pixi.
The {@link PIXI.settings.MIPMAP_TEXTURES} affects default texture filtering. Mipmaps are generated for a baseTexture if its
mipmap
field isON
, or itsPOW2
and texture dimensions are powers of 2. Due to platform restriction,ON
option will work likePOW2
for webgl-1.This property only affects WebGL.
MIPMAP_MODES
PIXI
{number} OFF - No mipmaps
{number} POW2 - Generate mipmaps if texture dimensions are pow2
{number} ON - Always generate mipmaps
{number} ON_MANUAL - Use mipmaps, but do not auto-generate them; this is used with a resource that supports buffering each level-of-detail.