Skip to content

GameboardSheetTextureLoader

Defined in: packages/declarative-hex-worlds/src/three/three.ts:169

Minimal async loader contract for tileset sheet textures. Compatible with a three TextureLoader wrapped to also report the sheet’s pixel dimensions (needed for per-cell UV normalization in buildTexturedHexMesh).

loadAsync(url): Promise<SheetTexture>

Defined in: packages/declarative-hex-worlds/src/three/three.ts:171

Load a sheet image URL and return the texture plus its pixel dimensions.

string

Promise<SheetTexture>