Specifies the colorchannels and precision for storing imagedata and provides the format for TextureData and Textures by TextureConfig.
The value of a color/alpha channel of a pixel can have 8 bit integer or alternatively 32 bit floatpoint precision.

Static variables

@:value(1)staticinlineread onlyR:Int = 1

@:value(2)staticinlineread onlyRG:Int = 2

@:value(3)staticinlineread onlyRGB:Int = 3

@:value(4)staticinlineread onlyRGBA:Int = 4

@:value(5)staticinlineread onlyLUMINANCE:Int = 5

@:value(6)staticinlineread onlyALPHA:Int = 6

@:value(7)staticinlineread onlyLUMINANCE_ALPHA:Int = 7

@:value(8)staticinlineread onlyFLOAT_R:Int = 8

@:value(9)staticinlineread onlyFLOAT_RG:Int = 9

@:value(10)staticinlineread onlyFLOAT_RGB:Int = 10

@:value(11)staticinlineread onlyFLOAT_RGBA:Int = 11

staticread onlyisFloat:Bool

Is true if using floatpoint precision.

staticread onlybytesPerPixel:Int

The number of Bytes what is used per pixel.

staticread onlychannels:Int

The amount of used colorchannels (including alpha).

Static methods

@:tostatictoString(this:Int):String

Returns the enum-identifier as a String.