瀏覽代碼

Docs: Added getContextAttributes to WebGLRenderer.

Mr.doob 10 年之前
父節點
當前提交
095d17b349
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      docs/api/renderers/WebGLRenderer.html

+ 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>