Browse Source

Update Loader.html

gero3 11 years ago
parent
commit
1962d66948
1 changed files with 12 additions and 12 deletions
  1. 12 12
      docs/api/loaders/Loader.html

+ 12 - 12
docs/api/loaders/Loader.html

@@ -51,7 +51,7 @@
 
 		<h2>Methods</h2>
 
-		<h3>.needsTangents([page:Array materials]) [page:todo]</h3>
+		<h3>.needsTangents([page:Array materials]) [page:Boolean]</h3>
 		<div>
 		materials -- an array of [page:Material]
 		</div>
@@ -59,7 +59,7 @@
 		Checks if the loaded object needs tangents based on its materials.
 		</div>
 
-		<h3>.updateProgress([page:object progress]) [page:todo]</h3>
+		<h3>.updateProgress([page:object progress])</h3>
 		<div>
 		progress -- an object containing loaded(contains the amount of bytes loaded) and optionally total (containing the total amount of bytes).
 		</div>
@@ -67,7 +67,7 @@
 		Updates the DOM object with the progress made.
 		</div>
 
-		<h3>.createMaterial([page:object m], [page:string texturePath]) [page:todo]</h3>
+		<h3>.createMaterial([page:object m], [page:string texturePath]) [page:Material]</h3>
 		<div>
 		m -- The parameters to create the material. <br />
 		texturePath -- The base path of the textures.
@@ -76,26 +76,26 @@
 		Creates the Material based on the parameters m.
 		</div>
 
-		<h3>.initMaterials([page:todo materials], [page:todo texturePath]) [page:todo]</h3>
+		<h3>.initMaterials([page:Array materials], [page:string texturePath]) [page:Array]</h3>
 		<div>
-		materials -- todo <br />
-		texturePath -- todo
+		materials -- an array of parameters to create materials. <br />
+		texturePath --  The base path of the textures.
 		</div>
 		<div>
-		todo
+		Creates an array of [page:Material] based on the array of parameters m. The index of the parameters decide the correct index of the materials.
 		</div>
 
-		<h3>.extractUrlBase([page:todo url]) [page:todo]</h3>
+		<h3>.extractUrlBase([page:string url])</h3>
 		<div>
-		url -- todo
+		url --  The url to extrac the base from.
 		</div>
 		<div>
-		todo
+		Extract the base from the URL. 
 		</div>
 
-		<h3>.addStatusElement() [page:todo]</h3>
+		<h3>.addStatusElement() [page:DOMElement]</h3>
 		<div>
-		todo
+		Add a DOM element to indicate the progress and returns the DOMElement
 		</div>