Mipmap filtering modes that are supported by pixi.
The PIXI.BaseTexture.defaultOptions.mipmap 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.
Since WebGL 1 don't support mipmap for non-power-of-two textures,
ON option will work like POW2 for WebGL 1.
Mipmap filtering modes that are supported by pixi.
The PIXI.BaseTexture.defaultOptions.mipmap affects default texture filtering. Mipmaps are generated for a baseTexture if its
mipmap
field isON
, or itsPOW2
and texture dimensions are powers of 2. Since WebGL 1 don't support mipmap for non-power-of-two textures,ON
option will work likePOW2
for WebGL 1.This property only affects WebGL.
Memberof
PIXI
Static