Skip to content

galavi / TilePoolConfig

Interface: TilePoolConfig

Defined in: utils/tile.ts:193

Properties

device

device: GPUDevice

Defined in: utils/tile.ts:194


tileSize

tileSize: Vec3

Defined in: utils/tile.ts:196

Tile dimensions in texels: [width, height, depth]. Use depth=1 for 2D tiles.


gridCells?

optional gridCells: 9 | 27

Defined in: utils/tile.ts:198

Optional explicit grid cell count. Defaults to 9 for 2D tiles and 27 for 3D tiles.


format?

optional format: GPUTextureFormat

Defined in: utils/tile.ts:200

Texture format (default: "r16float")


bytesPerTexel?

optional bytesPerTexel: number

Defined in: utils/tile.ts:202

Bytes per texel for the format (default: 2 for r16float)


label?

optional label: string

Defined in: utils/tile.ts:204

Optional label prefix for GPU resources


maxPoolSize?

optional maxPoolSize: number

Defined in: utils/tile.ts:206

Maximum pool size cap (default: computed from GPU limits)

Released under the GPL-3.0 License.