Module: PixelFormat

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

Members

(static, constant) ALPHA :Number

A pixel format containing an alpha channel.
Type:
  • Number
Source:

(static, constant) DEPTH_COMPONENT :Number

A pixel format containing a depth value.
Type:
  • Number
Source:

(static, constant) DEPTH_STENCIL :Number

A pixel format containing a depth and stencil value, most often used with PixelDatatype.UNSIGNED_INT_24_8.
Type:
  • Number
Source:

(static, constant) LUMINANCE :Number

A pixel format containing a luminance (intensity) channel.
Type:
  • Number
Source:

(static, constant) LUMINANCE_ALPHA :Number

A pixel format containing luminance (intensity) and alpha channels.
Type:
  • Number
Source:

(static, constant) RGB :Number

A pixel format containing red, green, and blue channels.
Type:
  • Number
Source:

(static, constant) RGBA :Number

A pixel format containing red, green, blue, and alpha channels.
Type:
  • Number
Source: