No mipmaps.
0
Always generate mipmaps.
2
Use mipmaps, but do not auto-generate them. this is used with a resource that supports buffering each level-of-detail.
3
Generate mipmaps if texture dimensions are powers of 2.
1
Generated using TypeDoc
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