Interface ITileLayerRendererPlatform
Hierarchy
- ITileLayerRendererPlatform
Properties
Readonly
isFixedDepth
isFixedDepth: boolean
Readonly
renderLayerFlag
Optional
ticks
ticks?: number
Readonly
type
Methods
clearBackgroundLayer
- clearBackgroundLayer(dataIndex: number): void
-
Returns void
clearForegroundLayer
- clearForegroundLayer(dataIndex: number): void
-
Returns void
clearLayer
- clearLayer(dataIndex: number): void
-
Returns void
delete
- delete(): void
-
Returns void
flush
- flush(): void
-
Returns void
flushTile
- flushTile(x: number, y: number): void
-
Returns void
getTileTLBG
- getTileTLBG(dataIndex: number): [number, number]
-
Returns [number, number]
getTileTLFG
- getTileTLFG(dataIndex: number): [number, number]
-
Returns [number, number]
render
- render(x: number, y: number, subTileSize: number, tileScale: number, viewWidth: number, viewHeight: number, ticks: number): void
-
Parameters
-
x: number
-
y: number
-
subTileSize: number
-
tileScale: number
-
viewWidth: number
-
viewHeight: number
-
ticks: number
Returns void
setBackgroundLayer
- setBackgroundLayer(dataIndex: number, tileAdaptation: ITileAdaptation, offset?: number): void
-
Parameters
-
dataIndex: number
-
-
Optional
offset: number
Returns void
setBackgroundToForegroundLayer
- setBackgroundToForegroundLayer(dataIndex: number, tileAdaptation: ITileAdaptation, offset?: number): void
-
Parameters
-
dataIndex: number
-
-
Optional
offset: number
Returns void
setForegroundLayer
- setForegroundLayer(dataIndex: number, tileAdaptation: ITileAdaptation, offset?: number): void
-
Parameters
-
dataIndex: number
-
-
Optional
offset: number
Returns void
setLayer
- setLayer(dataIndex: number, tileAdaptation: ITileAdaptation): void
-
Returns void
setTileBLBG
- setTileBLBG(dataIndex: number, tileX: number, tileY: number): void
-
Parameters
-
dataIndex: number
-
tileX: number
-
tileY: number
Returns void
setTileBLFG
- setTileBLFG(dataIndex: number, tileX: number, tileY: number): void
-
Parameters
-
dataIndex: number
-
tileX: number
-
tileY: number
Returns void
setTileBRBG
- setTileBRBG(dataIndex: number, tileX: number, tileY: number): void
-
Parameters
-
dataIndex: number
-
tileX: number
-
tileY: number
Returns void
setTileBRFG
- setTileBRFG(dataIndex: number, tileX: number, tileY: number): void
-
Parameters
-
dataIndex: number
-
tileX: number
-
tileY: number
Returns void
setTileTLBG
- setTileTLBG(dataIndex: number, tileX: number, tileY: number): void
-
Parameters
-
dataIndex: number
-
tileX: number
-
tileY: number
Returns void
setTileTLFG
- setTileTLFG(dataIndex: number, tileX: number, tileY: number): void
-
Parameters
-
dataIndex: number
-
tileX: number
-
tileY: number
Returns void
setTileTRBG
- setTileTRBG(dataIndex: number, tileX: number, tileY: number): void
-
Parameters
-
dataIndex: number
-
tileX: number
-
tileY: number
Returns void
setTileTRFG
- setTileTRFG(dataIndex: number, tileX: number, tileY: number): void
-
Parameters
-
dataIndex: number
-
tileX: number
-
tileY: number
Returns void
Flushes the entire tile layer to the GPU. This will do nothing if there are no changes to flush.