[name]
todo
Properties
.[page:string crossOrigin]
todo
Methods
.generateDataTexture([page:todo width], [page:todo height], [page:todo color]) [page:todo]
width -- todo
height -- todo
color -- todo
todo
.parseDDS([page:todo buffer], [page:todo loadMipmaps]) [page:todo]
buffer -- todo
loadMipmaps -- todo
todo
.loadCompressedTexture([page:todo url], [page:todo mapping], [page:todo onLoad], [page:todo onError]) [page:todo]
url -- todo
mapping -- todo
onLoad -- todo
onError -- todo
todo
.loadTexture([page:String url], [page:UVMapping mapping], [page:Function onLoad], [page:Function onError]) [page:todo]
url -- the url of the texture
mapping -- Can be an instance of [page:UVMapping Three.UVMapping], [page:CubeReflectionMapping THREE.CubeReflectionMapping], [page:SphericalReflectionMapping THREE.SphericalReflectionMapping] or [page:SphericalRefractionMapping THREE.SphericalRefractionMapping]. Describes how the image is applied to the object.
Use undefined instead of null as a default value. See mapping property of [page:Texture texture] for more details.
onLoad -- callback function
onError -- callback function
todo
.getNormalMap([page:todo image], [page:todo depth]) [page:todo]
image -- todo
depth -- todo
todo
.loadCompressedTextureCube([page:todo array], [page:todo mapping], [page:todo onLoad], [page:todo onError]) [page:todo]
array -- todo
mapping -- todo
onLoad -- todo
onError -- todo
todo
.loadTextureCube([page:todo array], [page:todo mapping], [page:todo onLoad], [page:todo onError]) [page:todo]
array -- todo
mapping -- todo
onLoad -- todo
onError -- todo
todo
Source
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]