You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.5 KiB
HTML
50 lines
1.5 KiB
HTML
2 months ago
|
<!DOCTYPE html>
|
||
|
<html lang="zh">
|
||
|
<head>
|
||
|
<meta charset="utf-8" />
|
||
|
<base href="../../../" />
|
||
|
<script src="page.js"></script>
|
||
|
<link type="text/css" rel="stylesheet" href="page.css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
[page:WebGLRenderTarget] →
|
||
|
|
||
|
<h1>[name]</h1>
|
||
|
|
||
|
<p class="desc">表示三维的渲染目标。</p>
|
||
|
|
||
|
<h2>构造函数</h2>
|
||
|
|
||
|
<h3>
|
||
|
[name]( [param:Number width], [param:Number height], [param:Number depth], [param:Object options] )
|
||
|
</h3>
|
||
|
<p>
|
||
|
[page:Number width] - 渲染目标的宽度,单位为像素。默认值为`1`。<br />
|
||
|
[page:Number height] - 渲染目标的高度,单位为像素。默认值为`1`。<br />
|
||
|
[page:Number depth] - 渲染目标的深度。 默认值为`1`。<br />
|
||
|
[page:Object options] - (可选)一个保存着自动生成的目标纹理的纹理参数以及表示是否使用深度缓存/模板缓存的布尔值的对象。
|
||
|
有关纹理参数的说明,请参阅[page:Texture Texture]. See [page:WebGLRenderTarget] for details.<br /><br />
|
||
|
创建新的[name].
|
||
|
</p>
|
||
|
|
||
|
<h2>属性</h2>
|
||
|
<p>继承属性请参考[page:WebGLRenderTarget]。</p>
|
||
|
|
||
|
<h3>[property:number depth]</h3>
|
||
|
<p>渲染目标的深度。</p>
|
||
|
|
||
|
<h3>[property:Data3DTexture texture]</h3>
|
||
|
<p>
|
||
|
[page:Data3DTexture]实例覆盖纹理属性。
|
||
|
</p>
|
||
|
|
||
|
<h2>方法</h2>
|
||
|
<p>继承方法请参考[page:WebGLRenderTarget]。</p>
|
||
|
|
||
|
<h2>源码</h2>
|
||
|
<p>
|
||
|
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|
||
|
</p>
|
||
|
</body>
|
||
|
</html>
|