Module: Textures/TextureManager
Variables
TextureManager
• Const TextureManager: Object
Type declaration
| Name | Type |
|---|---|
_ready | boolean |
defaultTexturePath | string |
textureTypes | Map<string, TextureType> |
$INIT | () => Promise<void> |
$START_ANIMATIONS | () => void |
addTextureType | (id: string) => TextureType |
clearTextureData | () => void |
createRawDataMap | () => Promise<Map<string, Uint8ClampedArray>> |
defineDefaultTexturePath | (path: string) => void |
generateTextureUVMap | () => TextureTypeUVMap |
getTextureData | (__namedParameters: ConstructorTextureData) => undefined | TextureData |
getTextureIndex | (data: ConstructorTextureData, overlay: boolean) => number |
getTextureType | (id: string) => false | TextureType |
isReady | () => boolean |
registerTexture | (textureData: TextureData | TextureData[]) => void |