提交 cea255d2 编写于 作者: M Mr.doob

WebGLRenderer: Added getContextAttributes for awareness reasons. See #6899.

上级 b2b60e18
......@@ -381,6 +381,12 @@ THREE.WebGLRenderer = function ( parameters ) {
};
this.getContextAttributes = function () {
return _gl.getContextAttributes();
};
this.forceContextLoss = function () {
extensions.get( 'WEBGL_lose_context' ).loseContext();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册