StaticdefaultReturn the default random RGB texture
StaticdefaultReturn the default white 1x1 texture
StaticinstanceReturn the singleton instance of the texture cache
StaticsizeReturn the number of textures in the cache
Create or return a texture from the cache by name
URL or filename path of texture image, or ArrayBufferView holding texture
Enable texture filtering and mipmaps (default true)
Flip the texture vertically (default true)
Unique key, only used for ArrayBuffer textures
Extra options to pass to twgl.createTexture, see https://twgljs.org/docs/module-twgl.html#.TextureOptions
StaticclearStaticinit
A caching texture manager It is instantiated with a WebGL context and then used to load and cache textures