Selaa lähdekoodia

Merge pull request #11497 from aardgoose/renderlists

add getRenderLists() method to WebGLRenderer
Mr.doob 8 vuotta sitten
vanhempi
commit
5986c2dfee
2 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  1. 5 0
      docs/api/renderers/WebGLRenderer.html
  2. 1 0
      src/renderers/WebGLRenderer.js

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

@@ -212,6 +212,11 @@
 		Used internally by the renderer to keep track of various sub object properties.
 		</div>
 
+		<h3>[property:WebGLRenderLists renderLists]</h3>
+		<div>
+		Used internally to handle ordering of scene object rendering.
+		</div>
+
 		<h3>[property:WebGLShadowMap shadowMap]</h3>
 		<div>
 		This contains the reference to the shadow map, if used.

+ 1 - 0
src/renderers/WebGLRenderer.js

@@ -343,6 +343,7 @@ function WebGLRenderer( parameters ) {
 	this.capabilities = capabilities;
 	this.extensions = extensions;
 	this.properties = properties;
+	this.renderLists = renderLists;
 	this.state = state;
 
 	// shadow map