PvrtcPacket class

Constructors

PvrtcPacket(TypedData data)

Properties

colorA ↔ int
read / write
colorAIsOpaque ↔ int
read / write
colorB ↔ int
read / write
colorBIsOpaque ↔ int
read / write
colorData ↔ int
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
index ↔ int
read / write
modulationData ↔ int
read / write
rawData ↔ Uint32List
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
usePunchthroughAlpha ↔ int
read / write

Methods

getColorRgbA() PvrtcColorRgb
getColorRgbaA() PvrtcColorRgba
getColorRgbaB() PvrtcColorRgba
getColorRgbB() PvrtcColorRgb
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setBlock(int x, int y) → void
setColorRgbA(PvrtcColorRgb c) → void
setColorRgbaA(PvrtcColorRgba c) → void
setColorRgbaB(PvrtcColorRgba c) → void
setColorRgbB(PvrtcColorRgb c) → void
setIndex(int i) → void
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited

Constants

BILINEAR_FACTORS → const List<List<int>>
const [const [4, 4, 4, 4], const [2, 6, 2, 6], const [8, 0, 8, 0], const [6, 2, 6, 2], const [2, 2, 6, 6], const [1, 3, 3, 9], const [4, 0, 12, 0], const [3, 1, 9, 3], const [8, 8, 0, 0], const [4, 12…
BITS_14 → const int
(1 << 14) - 1
BITS_15 → const int
(1 << 15) - 1
MORTON_TABLE → const List<int>
const [0x0000, 0x0001, 0x0004, 0x0005, 0x0010, 0x0011, 0x0014, 0x0015, 0x0040, 0x0041, 0x0044, 0x0045, 0x0050, 0x0051, 0x0054, 0x0055, 0x0100, 0x0101, 0x0104, 0x0105, 0x0110, 0x0111, 0x0114, 0x0115, 0…
WEIGHTS → const List<List<int>>
const [const [8, 0, 8, 0], const [5, 3, 5, 3], const [3, 5, 3, 5], const [0, 8, 0, 8], const [8, 0, 8, 0], const [4, 4, 4, 4], const [4, 4, 0, 0], const [0, 8, 0, 8]]