TilesetPreprocessor class

A pre-processor for Tilesets. A pre-processing is an optional step that can reduce CPU overhead during rendering at the cost of higher memory usage.

Constructors

TilesetPreprocessor(Theme theme, {bool initializeGeometry = false})
theme the theme to use for preprocessing initializeGeometry whether to initialize geometry as part of preprocessing. Defaults to false, only safe to use on the UI isolate.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
theme Theme
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
preprocess(Tileset tileset, {required double zoom}) Tileset
Pre-processes a tileset to eliminate some expensive processing from the rendering stage.
toString() String
A string representation of this object.
inherited

Operators

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