Points to a location within a list of MeshBatches.
Starling uses these tokens in its render cache. Each call to
painter.pushState() or painter.popState() provides a token
referencing the current location within the cache. In the next frame, if the relevant
part of the display tree has not changed, these tokens can be used to render directly
from the cache instead of constructing new MeshBatches.
Points to a location within a list of MeshBatches.
Starling uses these tokens in its render cache. Each call to
painter.pushState()
orpainter.popState()
provides a token referencing the current location within the cache. In the next frame, if the relevant part of the display tree has not changed, these tokens can be used to render directly from the cache instead of constructing new MeshBatches.@see Painter