Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration MIPMAP_MODES

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.

Index

Enumeration members

Enumeration members

OFF

OFF: = 0

ON

ON: = 2

ON_MANUAL

ON_MANUAL: = 3

POW2

POW2: = 1

Generated using TypeDoc