Properties
AUTO_GENERATE
AUTO_GENERATE: number = 0
QUICK_GENERATE
QUICK_GENERATE: number = 1
Private _height
_height: number = -1
Private _image
_image: HTMLImageElement = new Image()
Private _mipmap
_mipmap: Array<HTMLImageElement | HTMLCanvasElement> = []
Private _mipmapGenerationMethod
_mipmapGenerationMethod: number = -1
Private _onTextureLoadedHandlers
_onTextureLoadedHandlers: Array<Function> = []
Private _width
_width: number = -1
alpha
alpha: boolean = false
color
color: Uint8Array = new Uint8Array([229, 91, 91, 255])
loaded
loaded: boolean = false
mipmapFilter
mipmapFilter: string = "LINEAR"
textureBlockLocation
textureBlockLocation: number = -1
webglTexture
webglTexture: any
Sets color for texture