Phaser.Renderer.WebGL.RenderNodes.Defaults
Scope: static
Static functions
DefaultTileSpriteNodes
DefaultTileSpriteNodes: Phaser.Structs.Map.<string, string>
Description:
A Map defining the default render nodes used by TileSprite Game Objects in the WebGL renderer.
Each entry maps a node role name to the string identifier of the render node class responsible for that role. These nodes work together in the render pipeline to process and draw a TileSprite:
-
Submitter: Submits the TileSprite geometry to the batch for drawing (SubmitterTileSprite). -
BatchHandler: Manages the WebGL batch that accumulates TileSprite draw calls (BatchHandlerTileSprite). -
Transformer: Computes the world transform matrix for the TileSprite (TransformerTileSprite). -
Texturer: Resolves and applies the scrolling texture coordinates for the TileSprite (TexturerTileSprite).
This map is used when constructing the render node graph for a TileSprite, ensuring each role is fulfilled by an appropriate default implementation unless overridden.
Source: src/renderer/webgl/renderNodes/defaults/DefaultTileSpriteNodes.js#L9
Since: 3.90.0