2
0
Эх сурвалжийг харах

Docs: Added getContextAttributes to WebGLRenderer.

Mr.doob 10 жил өмнө
parent
commit
095d17b349

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

@@ -161,12 +161,16 @@
 		Return the WebGL context.
 		</div>
 
+		<h3>[method:WebGLContextAttributes getContextAttributes]()</h3>
+		<div>
+		Returns an object that describes the attributes set on the WebGL context when it was created.
+		</div>
+
 		<h3>[method:Boolean supportsVertexTextures]()</h3>
 		<div>
 		Return a [page:Boolean] true if the context supports vertex textures.
 		</div>
 
-
 		<h3>[method:null setSize]( [page:Integer width], [page:Integer height] )</h3>
 		<div>Resizes the output canvas to (width, height), and also sets the viewport to fit that size, starting in (0, 0).</div>