Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration GC_MODES

The gc modes that are supported by pixi.

The {@link PIXI.settings.GC_MODE} Garbage Collection mode for PixiJS textures is AUTO If set to GC_MODE, the renderer will occasionally check textures usage. If they are not used for a specified period of time they will be removed from the GPU. They will of course be uploaded again when they are required. This is a silent behind the scenes process that should ensure that the GPU does not get filled up.

Handy for mobile devices! This property only affects WebGL.

name

GC_MODES

static
memberof

PIXI

property

{number} AUTO - Garbage collection will happen periodically automatically

property

{number} MANUAL - Garbage collection will need to be called manually

Index

Enumeration members

Enumeration members

AUTO

AUTO: = 0

MANUAL

MANUAL: = 1

Generated using TypeDoc