TextureFormat enum

Texture formats; values correspond to WebGL enums.

Inheritance
Available extensions

Values

alpha → const TextureFormat
const TextureFormat('ALPHA', 6406)
rgb → const TextureFormat
const TextureFormat('RGB', 6407)
rgba → const TextureFormat
const TextureFormat('RGBA', 6408)
luminance → const TextureFormat
const TextureFormat('LUMINANCE', 6409)
luminanceAlpha → const TextureFormat
const TextureFormat('LUMINANCE_ALPHA', 6410)

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String
final
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.
inherited

Operators

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

Static Methods

parse(Map<String, Object?> map, String key) → TextureFormat?
valueOf(String name) → TextureFormat

Constants

values → const List<TextureFormat>
A constant List of the values in this enum, in order of their declaration.