提交 68385ced 编写于 作者: G gero3

Update WebGLRenderer.html

上级 82b46726
...@@ -288,26 +288,41 @@ ...@@ -288,26 +288,41 @@
<h3>.setBlending( blending, blendEquation, blendSrc, blendDst )</h3> <h3>.setBlending( blending, blendEquation, blendSrc, blendDst )</h3>
<div>TODO.</div> <div>
blending -- The [page:Texture texture] that needs to be set.<br />
blendEquation -- The number indicating which slot should be used by the texture.<br />
<h3>.setTexture( texture, slot )</h3> blendSrc -- The number indicating which slot should be used by the texture.<br />
<div>TODO.</div> blendDst -- The number indicating which slot should be used by the texture.
</div>
<div>
<h3>.setRenderTarget( renderTarget )</h3> This method sets the correct texture to the correct slot for the wegl shader. The slot number can be found as a value of the uniform of the sampler.
<div>TODO.</div> </div>
<h3>.setTexture( [page:Texture texture], [page:number slot] )</h3>
<div>
texture -- The [page:Texture texture] that needs to be set.<br />
slot -- The number indicating which slot should be used by the texture.
</div>
<div>
This method sets the correct texture to the correct slot for the wegl shader. The slot number can be found as a value of the uniform of the sampler.
</div>
<h3>.setRenderTarget( [page:WebGLRenderTarget renderTarget] )</h3>
<div>
renderTarget -- The [page:WebGLRenderTarget renderTarget] that needs to be activated.<br />
</div>
<div>
This method sets the active rendertarget.
</div>
<h3>.supportsCompressedTextureS3TC() [page:todo]</h3> <h3>.supportsCompressedTextureS3TC() [page:boolean]</h3>
<div> <div>
todo This method returns true if the webgl implementation supports compressed textures of the format S3TC.
</div> </div>
<h3>.getMaxAnisotropy() [page:todo]</h3> <h3>.getMaxAnisotropy() [page:number]</h3>
<div> <div>
todo This returns the anisotropy level of the textures.
</div> </div>
<h3>.getPrecision() [page:string]</h3> <h3>.getPrecision() [page:string]</h3>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册