PixelFormat

enum PixelFormat : Enum<PixelFormat>

Format of pixel data read from frame buffer.

Entries

ALPHA
Link copied to clipboard
common
ALPHA(bytesPerPixel, 1)
Read alpha channel only.
RGB
Link copied to clipboard
common
RGB(bytesPerPixel, 3)
Read red, green and blue channels.
RGBA
Link copied to clipboard
common
RGBA(bytesPerPixel, 4)
Read all channels.

Properties

bytesPerPixel
Link copied to clipboard
common
val bytesPerPixel: Int
name
Link copied to clipboard
common
val name: String
ordinal
Link copied to clipboard
common
val ordinal: Int