TilemapLayers
Defined in: tilemap/src/tiled/parseTiledMap.ts:405
What createTilemapLayers builds.
Properties
Section titled “Properties”layers
Section titled “layers”layers:
CompositeTilemap[]
Defined in: tilemap/src/tiled/parseTiledMap.ts:407
One container per rendered tile layer, in map order.
textures
Section titled “textures”textures:
TextureResource[]
Defined in: tilemap/src/tiled/parseTiledMap.ts:415
Frame textures cut from the tileset images for these layers. The caller
owns them and calls destroy(false) on each once the layers are gone: a
Texture subscribes to its source, so dropping the reference alone leaks.
Frames of a collection-of-images tileset are not here — those belong to
the atlas that loaded them.
Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/tilemap.md.