PixelFormat

The format of a pixel, i.e., the number of components it has and what they represent.

Members

staticconstantPixelFormat.ALPHA :Number

A pixel format containing an alpha channel.

staticconstantPixelFormat.DEPTH_COMPONENT :Number

A pixel format containing a depth value.

staticconstantPixelFormat.DEPTH_STENCIL :Number

A pixel format containing a depth and stencil value, most often used with PixelDatatype.UNSIGNED_INT_24_8.

staticconstantPixelFormat.LUMINANCE :Number

A pixel format containing a luminance (intensity) channel.

staticconstantPixelFormat.LUMINANCE_ALPHA :Number

A pixel format containing luminance (intensity) and alpha channels.

staticconstantPixelFormat.RGB :Number

A pixel format containing red, green, and blue channels.

staticconstantPixelFormat.RGBA :Number

A pixel format containing red, green, blue, and alpha channels.