PixelDataFormat enum

Pixel data format enum, representing different channel combinations

Inheritance
Available extensions

Values

R → const PixelDataFormat

One Red channel, float

const PixelDataFormat(0)
R_INTEGER → const PixelDataFormat

One Red channel, integer

const PixelDataFormat(1)
RG → const PixelDataFormat

Two Red and Green channels, float

const PixelDataFormat(2)
RG_INTEGER → const PixelDataFormat

Two Red and Green channels, integer

const PixelDataFormat(3)
RGB → const PixelDataFormat

Three Red, Green and Blue channels, float

const PixelDataFormat(4)
RGB_INTEGER → const PixelDataFormat

Three Red, Green and Blue channels, integer

const PixelDataFormat(5)
RGBA → const PixelDataFormat

Four Red, Green, Blue and Alpha channels, float

const PixelDataFormat(6)
RGBA_INTEGER → const PixelDataFormat

Four Red, Green, Blue and Alpha channels, integer

const PixelDataFormat(7)
UNUSED → const PixelDataFormat

Unused format

const PixelDataFormat(8)
DEPTH_COMPONENT → const PixelDataFormat

Depth, 16-bit or 24-bits usually

const PixelDataFormat(9)
DEPTH_STENCIL → const PixelDataFormat

Two Depth (24-bits) + Stencil (8-bits) channels

const PixelDataFormat(10)
ALPHA → const PixelDataFormat

Alpha channel only

const PixelDataFormat(11)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
The integer value of the enum
final

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<PixelDataFormat>
A constant List of the values in this enum, in order of their declaration.