PixelFormat enum
Pixel formats.
NOTE: Support depends on OpenGL version and platform.
Constructors
- PixelFormat()
-
const
Values
- uncompressedGrayscale → const PixelFormat
-
8 bit per pixel (no alpha).
- uncompressedGrayAlpha → const PixelFormat
-
8*2 bpp (2 channels).
- uncompressedR5G6B5 → const PixelFormat
-
16 bpp.
- uncompressedR8G8B8 → const PixelFormat
-
24 bpp.
- uncompressedR5G5B5A1 → const PixelFormat
-
16 bpp (1 bit alpha).
- uncompressedR4G4B4A4 → const PixelFormat
-
16 bpp (4 bit alpha).
- uncompressedR8G8B8A8 → const PixelFormat
-
32 bpp.
- uncompressedR32 → const PixelFormat
-
32 bpp (1 channel - float).
- uncompressedR32G32B32 → const PixelFormat
-
32*3 bpp (3 channels - float).
- uncompressedR32G32B32A32 → const PixelFormat
-
32*4 bpp (4 channels - float).
- compressedDXT1rgb → const PixelFormat
-
4 bpp (no alpha).
- compressedDXT1rgba → const PixelFormat
-
4 bpp (1 bit alpha).
- compressedDXT3rgba → const PixelFormat
-
8 bpp.
- compressedDXT5rgba → const PixelFormat
-
8 bpp.
- compressedETC1rgb → const PixelFormat
-
4 bpp.
- compressedETC2rgb → const PixelFormat
-
4 bpp.
- compressedETC2eacRGBA → const PixelFormat
-
8 bpp.
- compressedPVRTrgb → const PixelFormat
-
4 bpp.
- compressedPVRTrgba → const PixelFormat
-
4 bpp.
- compressedASTC4x4rgba → const PixelFormat
-
8 bpp.
- compressedASTC8x8rgba → const PixelFormat
-
2 bpp.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
PixelFormat> - A constant List of the values in this enum, in order of their declaration.