PixelFormat
The format of a pixel, i.e., the number of components it has and what they represent.
Source:
Core/PixelFormat.js, line 10
Members
-
staticconstantPixelFormat.ALPHA :Number
-
0x1906. A pixel format containing an alpha channel.Source: Core/PixelFormat.js, line 33
-
staticconstantPixelFormat.DEPTH_COMPONENT :Number
-
0x1902. A pixel format containing a depth value.Source: Core/PixelFormat.js, line 17
-
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 25 -
staticconstantPixelFormat.LUMINANCE :Number
-
0x1909. A pixel format containing a luminance (intensity) channel.Source: Core/PixelFormat.js, line 57
-
staticconstantPixelFormat.LUMINANCE_ALPHA :Number
-
0x190A. A pixel format containing luminance (intensity) and alpha channels.
-
Default Value:
0x190A
Source: Core/PixelFormat.js, line 66 -
staticconstantPixelFormat.RGB :Number
-
0x1907. A pixel format containing red, green, and blue channels.Source: Core/PixelFormat.js, line 41
-
staticconstantPixelFormat.RGBA :Number
-
0x1908. A pixel format containing red, green, blue, and alpha channels.Source: Core/PixelFormat.js, line 49