PIXI.MIPMAP_MODES

MIPMAP_MODES

Mipmap filtering modes that are supported by pixi.

The 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.

Summary


Properties from MIPMAP_MODES

number
static OFF
number
static ON
number
static ON_MANUAL
number
static POW2

Public Properties


OFF index.ts:337
static OFF: number

No mipmaps

ON index.ts:337
static ON: number

Always generate mipmaps

ON_MANUAL index.ts:337
static ON_MANUAL: number

Use mipmaps, but do not auto-generate them; this is used with a resource that supports buffering each level-of-detail.

POW2 index.ts:337
static POW2: number

Generate mipmaps if texture dimensions are pow2


Powered by webdoc!