Enumeration GC_MODES

The gc modes that are supported by pixi.

The PIXI.TextureGCSystem.defaultMode 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.

Static

Memberof

PIXI

Enumeration Members

Enumeration Members

AUTO: 0

Garbage collection will happen periodically automatically

Default

0
MANUAL: 1

Garbage collection will need to be called manually

Default

1

Generated using TypeDoc