diff --git a/docs/api/en/renderers/WebGLRenderer.html b/docs/api/en/renderers/WebGLRenderer.html index e1a4b41a623129..27d34e0fff1112 100644 --- a/docs/api/en/renderers/WebGLRenderer.html +++ b/docs/api/en/renderers/WebGLRenderer.html @@ -98,7 +98,7 @@

[property:Boolean autoClearStencil]

[property:Object debug]

- - [page:Boolean checkShaderErrors]: + - [page:Boolean checkShaderErrors]: If it is true, defines whether material shader programs are checked for errors during compilation and linkage process. It may be useful to disable this check in production for performance gain. It is strongly recommended to keep these checks enabled during development. @@ -122,6 +122,8 @@

[property:Object capabilities]

Maximum height * width of cube map textures that a shader can use.
- [page:Integer maxFragmentUniforms]: The value of *gl.MAX_FRAGMENT_UNIFORM_VECTORS*. The number of uniforms that can be used by a fragment shader.
+ - [page:Integer maxSamples]: The value of *gl.MAX_SAMPLES*. + Maximum number of samples in context of Multisample anti-aliasing (MSAA).
- [page:Integer maxTextureSize]: The value of *gl.MAX_TEXTURE_SIZE*. Maximum height * width of a texture that a shader use.
- [page:Integer maxTextures]: The value of *gl.MAX_TEXTURE_IMAGE_UNITS*. @@ -155,7 +157,7 @@

[property:DOMElement domElement]

[property:Object extensions]

- - [page:Object get]( [param:String extensionName] ): + - [page:Object get]( [param:String extensionName] ): Used to check whether various extensions are supported and returns an object with details of the extension if available. This method can check for the following extensions:
diff --git a/docs/api/zh/renderers/WebGLRenderer.html b/docs/api/zh/renderers/WebGLRenderer.html index c7624291247718..52af661cb4f9c6 100644 --- a/docs/api/zh/renderers/WebGLRenderer.html +++ b/docs/api/zh/renderers/WebGLRenderer.html @@ -106,6 +106,7 @@

[property:Object capabilities]

- [page:Integer maxAttributes]: *gl.MAX_VERTEX_ATTRIBS*的值
- [page:Integer maxCubemapSize]: *gl.MAX_CUBE_MAP_TEXTURE_SIZE* 的值,着色器可使用的立方体贴图纹理的最大宽度*高度
- [page:Integer maxFragmentUniforms]: *gl.MAX_FRAGMENT_UNIFORM_VECTORS*的值,片元着色器可使用的全局变量(uniforms)数量
+ - [page:Integer maxSamples]: The value of *gl.MAX_SAMPLES*. Maximum number of samples in context of Multisample anti-aliasing (MSAA).
- [page:Integer maxTextureSize]: *gl.MAX_TEXTURE_SIZE*的值,着色器可使用纹理的最大宽度*高度
- [page:Integer maxTextures]: *gl.MAX_TEXTURE_IMAGE_UNITS的值,着色器可使用的纹理数量
- [page:Integer maxVaryings]: *gl.MAX_VARYING_VECTORS*的值,着色器可使用矢量的数量
@@ -133,7 +134,7 @@

[property:DOMElement domElement]

[property:Object extensions]

- - [page:Object get]( [param:String extensionName] ): + - [page:Object get]( [param:String extensionName] ): 用于检查是否支持各种扩展,并返回一个对象,其中包含扩展的详细信息。 该方法检查以下扩展: