mapping -- Can be an instance of [page:UVMapping THREE.UVMapping], [page:CubeReflectionMapping THREE.CubeReflectionMapping] or [page:SphericalReflectionMapping THREE.SphericalReflectionMapping]. Describes how the image is applied to the object.<br/>Use undefined instead of null as a default value. See mapping property of [page:Texture texture] for more details. <br/>
onLoad -- callback function<br/>
onError -- callback function
</div>
<div>
A helper function to generates a [page:Texture THREE.Texture] from an image URL. Provides a load and error
<divid="info"><ahref="http://threejs.org"target="_blank">three.js</a> - Basic Material Variantions by <ahref="http://clara.io/"target="_blank">Ben Houston</a>.</div>
<divid="info"><ahref="http://threejs.org"target="_blank">three.js</a> - Lambert Material Variantions by <ahref="http://clara.io/"target="_blank">Ben Houston</a>.</div>