소스 검색

add documentation for webglrenderer.compile

gero3 8 년 전
부모
커밋
ba79e7ce77
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      docs/api/renderers/WebGLRenderer.html

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

@@ -305,6 +305,9 @@
 		This method clears a rendertarget. To do this, it activates the rendertarget.
 		</div>
 
+		<h3>[method:null compile]( [page:Scene scene], [page:Camera camera] )</h3>
+		<div>Compiles all materials in the scene with the camera. This is useful to precompile shaders before the first rendering.</div>
+		
 		<h3>[method:null dispose]( )</h3>
 		<div>Dispose of the current rendering context.</div>