From 68385ceda8e6e029d888d5d0799226b3276fc570 Mon Sep 17 00:00:00 2001 From: gero3 Date: Thu, 30 Jan 2014 10:41:24 +0100 Subject: [PATCH] Update WebGLRenderer.html --- docs/api/renderers/WebGLRenderer.html | 45 ++++++++++++++++++--------- 1 file changed, 30 insertions(+), 15 deletions(-) diff --git a/docs/api/renderers/WebGLRenderer.html b/docs/api/renderers/WebGLRenderer.html index 0677412232..ae57575823 100644 --- a/docs/api/renderers/WebGLRenderer.html +++ b/docs/api/renderers/WebGLRenderer.html @@ -288,26 +288,41 @@

.setBlending( blending, blendEquation, blendSrc, blendDst )

-
TODO.
- - -

.setTexture( texture, slot )

-
TODO.
- - -

.setRenderTarget( renderTarget )

-
TODO.
- - +
+ blending -- The [page:Texture texture] that needs to be set.
+ blendEquation -- The number indicating which slot should be used by the texture.
+ blendSrc -- The number indicating which slot should be used by the texture.
+ blendDst -- The number indicating which slot should be used by the texture. +
+
+ 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. +
+ +

.setTexture( [page:Texture texture], [page:number slot] )

+
+ texture -- The [page:Texture texture] that needs to be set.
+ slot -- The number indicating which slot should be used by the texture. +
+
+ 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. +
+ +

.setRenderTarget( [page:WebGLRenderTarget renderTarget] )

+
+ renderTarget -- The [page:WebGLRenderTarget renderTarget] that needs to be activated.
+
+
+ This method sets the active rendertarget. +
-

.supportsCompressedTextureS3TC() [page:todo]

+

.supportsCompressedTextureS3TC() [page:boolean]

- todo + This method returns true if the webgl implementation supports compressed textures of the format S3TC.
-

.getMaxAnisotropy() [page:todo]

+

.getMaxAnisotropy() [page:number]

- todo + This returns the anisotropy level of the textures.

.getPrecision() [page:string]

-- GitLab