TextureEncoding class final Assets and loading

How buildTextures stores a cooked texture.

Constructors

TextureEncoding.etc1s({int quality = 128})
Standard ETC1S KTX2 (what basisu -ktx2 writes), several times smaller than universal. Each 4x4 block holds one hue, so color detail blurs; prefer universal for normal maps.
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
quality → int
The ETC1S quality level, or 0 for universal.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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.
override

Constants

universal → const TextureEncoding
The engine's own .fstex block format, the default and the better quality of the two.