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).
Methods
Section titled “Methods”loadAsync()
Section titled “loadAsync()”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.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<SheetTexture>