Browse Source

revised api

aardgoose 8 years ago
parent
commit
45021d37bc
2 changed files with 6 additions and 9 deletions
  1. 5 3
      docs/api/renderers/WebGLRenderer.html
  2. 1 6
      src/renderers/WebGLRenderer.js

+ 5 - 3
docs/api/renderers/WebGLRenderer.html

@@ -212,6 +212,11 @@
 		Used internally by the renderer to keep track of various sub object properties.
 		Used internally by the renderer to keep track of various sub object properties.
 		</div>
 		</div>
 
 
+		<h3>[property:WebGLRenderLists renderLists]</h3>
+		<div>
+		Internal object handling ordering of scene object rendering.
+		</div>
+
 		<h3>[property:WebGLShadowMap shadowMap]</h3>
 		<h3>[property:WebGLShadowMap shadowMap]</h3>
 		<div>
 		<div>
 		This contains the reference to the shadow map, if used.
 		This contains the reference to the shadow map, if used.
@@ -354,9 +359,6 @@
 		<h3>[method:string getPrecision]()</h3>
 		<h3>[method:string getPrecision]()</h3>
 		<div>This gets the precision used by the shaders. It returns "highp","mediump" or "lowp".</div>
 		<div>This gets the precision used by the shaders. It returns "highp","mediump" or "lowp".</div>
 
 
-		<h3>[method:WebGLRenderLists getRenderLists]()</h3>
-		<div>Returns the renderer's internal WebGLRenderLists object.</div>
-
 		<h3>[method:Object getSize]()</h3>
 		<h3>[method:Object getSize]()</h3>
 		<div>Returns an object containing the width and height of the renderer's output canvas, in pixels.</div>
 		<div>Returns an object containing the width and height of the renderer's output canvas, in pixels.</div>
 
 

+ 1 - 6
src/renderers/WebGLRenderer.js

@@ -343,6 +343,7 @@ function WebGLRenderer( parameters ) {
 	this.capabilities = capabilities;
 	this.capabilities = capabilities;
 	this.extensions = extensions;
 	this.extensions = extensions;
 	this.properties = properties;
 	this.properties = properties;
+	this.renderLists = renderLists;
 	this.state = state;
 	this.state = state;
 
 
 	// shadow map
 	// shadow map
@@ -406,12 +407,6 @@ function WebGLRenderer( parameters ) {
 
 
 	};
 	};
 
 
-	this.getRenderLists = function () {
-
-		return renderLists;
-
-	};
-
 	this.getSize = function () {
 	this.getSize = function () {
 
 
 		return {
 		return {