Allow TileTexture to select float or int based textures.

This commit is contained in:
Duck
2021-09-15 09:34:41 -07:00
parent f2472b7801
commit 05615df1a3
2 changed files with 13 additions and 4 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import TileState from './TileState.js';
/**
* Data that can be used with a DataTile.
* @typedef {Uint8Array|Uint8ClampedArray|DataView} Data
* @typedef {Uint8Array|Uint8ClampedArray|Float32Array|DataView} Data
*/
/**