|
@@ -12,9 +12,9 @@
|
|
|
|
|
|
<p class="desc">
|
|
<p class="desc">
|
|
A loader for loading an [page:Image].
|
|
A loader for loading an [page:Image].
|
|
-
|
|
|
|
This uses the [page:FileLoader] internally for loading files, and is used internally by the
|
|
This uses the [page:FileLoader] internally for loading files, and is used internally by the
|
|
- [page:CubeTextureLoader], [page:ObjectLoader] and [page:TextureLoader].
|
|
|
|
|
|
+ [page:CubeTextureLoader], [page:ObjectLoader] and [page:TextureLoader].<br/>
|
|
|
|
+ Unlike [page:FileLoader], [name] does not avoid multiple concurrent requests to the same URL.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h2>Example</h2>
|
|
<h2>Example</h2>
|
|
@@ -88,7 +88,7 @@
|
|
[page:String url] — the path or URL to the file. This can also be a
|
|
[page:String url] — the path or URL to the file. This can also be a
|
|
[link:https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs Data URI].<br />
|
|
[link:https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs Data URI].<br />
|
|
[page:Function onLoad] — Will be called when load completes. The argument will be the loaded [page:Image image].<br />
|
|
[page:Function onLoad] — Will be called when load completes. The argument will be the loaded [page:Image image].<br />
|
|
- [page:Function onProgress] — Will be called while load progresses. The argument will be the progress event.<br />
|
|
|
|
|
|
+ [page:Function onProgress] — This callback function is currently not supported.<br />
|
|
[page:Function onError] — Will be called when load errors.<br />
|
|
[page:Function onError] — Will be called when load errors.<br />
|
|
</p>
|
|
</p>
|
|
<p>
|
|
<p>
|