Interface PixelStoreiParameter

Pixel storage parameters

Hierarchy

Properties

PACK_ALIGNMENT: 2 | 1 | 4 | 8

Packing of pixel data into memory. default 4.

UNPACK_ALIGNMENT: 2 | 1 | 4 | 8

Unpacking of pixel data from memory. default 4.

UNPACK_COLORSPACE_CONVERSION_WEBGL: "BROWSER_DEFAULT_WEBGL" | "NONE"

Default color space conversion or no color space conversion. default gl.BROWSER_DEFAULT_WEBGL.

UNPACK_FLIP_Y_WEBGL: boolean

Flips the source data along its vertical axis if true. default false.

UNPACK_PREMULTIPLY_ALPHA_WEBGL: boolean

Multiplies the alpha channel into the other color channels. default false.

Generated using TypeDoc