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

Merge pull request #8361 from yomotsu/dev75

remove unused shareDepthFrom
......@@ -88,11 +88,6 @@
Whether to generate mipmaps (if possible) for a texture. True by default.
</div>
<h3>[property:WebGLRenderTarget shareDepthFrom]</h3>
<div>
Shares the depth from another WebGLRenderTarget. Default is null.
</div>
<h2>Methods</h2>
......
......@@ -5292,10 +5292,6 @@
"!type": "boolean",
"!doc": "Whether to generate mipmaps (if possible) for a texture. True by default."
},
"shareDepthFrom": {
"!type": "+THREE.WebGLRenderTarget",
"!doc": "Shares the depth from another WebGLRenderTarget. Default is null."
},
"setSize": {
"!type": "fn(width: number, height: number)",
"!doc": "Sets the size of the renderTarget."
......
......@@ -70,8 +70,6 @@ THREE.WebGLRenderTarget.prototype = {
this.depthBuffer = source.depthBuffer;
this.stencilBuffer = source.stencilBuffer;
this.shareDepthFrom = source.shareDepthFrom;
return this;
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册