Enumeration MIPMAP_MODES

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.

This property only affects WebGL.

Memberof

PIXI

Static

Enumeration Members

Enumeration Members

OFF: 0

No mipmaps.

Default

0
ON: 2

Always generate mipmaps.

Default

2
ON_MANUAL: 3

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

Default

3
POW2: 1

Generate mipmaps if texture dimensions are powers of 2.

Default

1

Generated using TypeDoc