StbirPixelLayout enum
stbir_pixel_layout specifies: number of channels order of channels whether color is premultiplied by alpha for back compatibility, you can cast the old channel count to an stbir_pixel_layout
Values
- STBIR_1CHANNEL → const StbirPixelLayout
-
const StbirPixelLayout(1) - STBIR_2CHANNEL → const StbirPixelLayout
-
const StbirPixelLayout(2) - STBIR_RGB → const StbirPixelLayout
-
3-chan, with order specified (for channel flipping)
const StbirPixelLayout(3) - STBIR_BGR → const StbirPixelLayout
-
3-chan, with order specified (for channel flipping)
const StbirPixelLayout(0) - STBIR_4CHANNEL → const StbirPixelLayout
-
const StbirPixelLayout(5) - STBIR_RGBA → const StbirPixelLayout
-
alpha formats, where alpha is NOT premultiplied into color channels
const StbirPixelLayout(4) - STBIR_BGRA → const StbirPixelLayout
-
const StbirPixelLayout(6) - STBIR_ARGB → const StbirPixelLayout
-
const StbirPixelLayout(7) - STBIR_ABGR → const StbirPixelLayout
-
const StbirPixelLayout(8) - STBIR_RA → const StbirPixelLayout
-
const StbirPixelLayout(9) - STBIR_AR → const StbirPixelLayout
-
const StbirPixelLayout(10) - STBIR_RGBA_PM → const StbirPixelLayout
-
alpha formats, where alpha is premultiplied into color channels
const StbirPixelLayout(11) - STBIR_BGRA_PM → const StbirPixelLayout
-
const StbirPixelLayout(12) - STBIR_ARGB_PM → const StbirPixelLayout
-
const StbirPixelLayout(13) - STBIR_ABGR_PM → const StbirPixelLayout
-
const StbirPixelLayout(14) - STBIR_RA_PM → const StbirPixelLayout
-
const StbirPixelLayout(15) - STBIR_AR_PM → const StbirPixelLayout
-
const StbirPixelLayout(16)
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
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromValue(
int value) → StbirPixelLayout
Constants
- STBIR_ABGR_NO_AW → const StbirPixelLayout
- for some folks).
- STBIR_AR_NO_AW → const StbirPixelLayout
- STBIR_ARGB_NO_AW → const StbirPixelLayout
- no alpha weighting). These names just make it more clear
- STBIR_BGRA_NO_AW → const StbirPixelLayout
- these are just synonyms for the _PM flags (which also do
- STBIR_RA_NO_AW → const StbirPixelLayout
- STBIR_RGBA_NO_AW → const StbirPixelLayout
- alpha formats, where NO alpha weighting is applied at all!
-
values
→ const List<
StbirPixelLayout> - A constant List of the values in this enum, in order of their declaration.