CLASSES
TagsA - Z

TextureAssetTask

Assets

Description

class TextureAssetTask extends AbstractAssetTask

Constructor

new TextureAssetTask(name, url, noMipmap, invertY, samplingMode)

Parameters

Name Type Description
name string
url string
optional noMipmap boolean
optional invertY boolean

Members

name : string

url : string

noMipmap : boolean

invertY : boolean

samplingMode : number

texture : Texture

Methods

runTask(scene, onSuccess, onError) void

Parameters

Name Type Description
scene Scene
onSuccess () => void
onError (message: string, exception: any) => void