galavi / TileSpec
Interface: TileSpec
Defined in: utils/tile.ts:215
Layer-side declaration of "I am a tiled image; allocate a pool of this shape". Layers return this from getTileSpec(); the view-side LayerRenderer creates a TilePool (and the surrounding TileManager) from it. Strictly data-side — layers themselves never touch the GPU.
Properties
tileSize
tileSize:
Vec3
Defined in: utils/tile.ts:216
gridCells?
optionalgridCells:9|27
Defined in: utils/tile.ts:217
format?
optionalformat:GPUTextureFormat
Defined in: utils/tile.ts:218
bytesPerTexel?
optionalbytesPerTexel:number
Defined in: utils/tile.ts:219
label?
optionallabel:string
Defined in: utils/tile.ts:220
maxPoolSize?
optionalmaxPoolSize:number
Defined in: utils/tile.ts:221