Module SCALE_MODES-PIXI

include { ... };
type t =
| Linear
| Nearest
;

The scale modes that are supported by pixi.

The PIXI.settings.SCALE_MODE scale mode affects the default scaling mode of future operations. It can be re-assigned to either LINEAR or NEAREST, depending upon suitability.

include { ... };
let tToJs: t => int;
let tFromJs: int => option(t);
let linear: int;

Smooth scaling

let nearest: int;

Pixelating scaling