PixelFormat - Cesium Documentation

# PixelFormat

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

Source: Core/PixelFormat.js, line 14

### Members

#### staticconstantPixelFormat.ALPHA :Number

  0x1906. A pixel format containing an alpha channel.
  Source: Core/PixelFormat.js, line 37

#### staticconstantPixelFormat.DEPTH_COMPONENT :Number

  0x1902. A pixel format containing a depth value.
  Source: Core/PixelFormat.js, line 21

#### staticconstantPixelFormat.DEPTH_STENCIL :Number

  0x84F9. A pixel format containing a depth and stencil value, most often used with `PixelDatatype.UNSIGNED_INT_24_8_WEBGL`.
  Source: Core/PixelFormat.js, line 29

#### staticconstantPixelFormat.LUMINANCE :Number

  0x1909. A pixel format containing a luminance (intensity) channel.
  Source: Core/PixelFormat.js, line 61

#### staticconstantPixelFormat.LUMINANCE_ALPHA :Number

  0x190A. A pixel format containing luminance (intensity) and alpha channels.
  Source: Core/PixelFormat.js, line 69

#### staticconstantPixelFormat.RGB :Number

  0x1907. A pixel format containing red, green, and blue channels.
  Source: Core/PixelFormat.js, line 45

#### staticconstantPixelFormat.RGBA :Number

  0x1908. A pixel format containing red, green, blue, and alpha channels.
  Source: Core/PixelFormat.js, line 53