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.

Functions

compareTo
Link copied to clipboard
common
operator override fun compareTo(other: PixelFormat): Int
equals
Link copied to clipboard
common
operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

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