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

Updated builds.

上级 166d0349
......@@ -4,7 +4,7 @@
* @author bhouston / http://exocortex.com
*/
var THREE = { REVISION: '63' };
var THREE = { REVISION: '64dev' };
self.console = self.console || {
......@@ -19959,6 +19959,24 @@ THREE.WebGLRenderer = function ( parameters ) {
};
this.clearColor = function () {
_gl.clear( _gl.COLOR_BUFFER_BIT );
};
this.clearDepth = function () {
_gl.clear( _gl.DEPTH_BUFFER_BIT );
};
this.clearStencil = function () {
_gl.clear( _gl.STENCIL_BUFFER_BIT );
};
this.clearTarget = function ( renderTarget, color, depth, stencil ) {
this.setRenderTarget( renderTarget );
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册