DrawDelegate

Description

delegate Tinman.Terrain.Pyramids.DrawDelegate

tile : PyramidCoords

The pyramid tile coordinates.

result : TileDataResult

The result code of the loaded tile. For undefined buffer contents (see TileDataResult), gfx will have been cleared.

gfx : ColorBuffer

The graphics object to use.

userData : object

Optional user data object.

returns → TileDataResult

The TileDataResult value to use for subsequent processing of the pyramid tile. Will usually be result.

Delegate that performs custom drawing on pixel pyramid tiles (mainly for debugging purposes).

Usages