Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Remove pages about internals. #22775

Merged
merged 1 commit into from
Nov 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions docs/api/en/renderers/WebGLRenderer.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,13 @@ <h3>[property:Object capabilities]</h3>
<p>
An object containing details about the capabilities of the current [link:https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext RenderingContext].<br />

- [page:Boolean floatFragmentTextures]: whether the context supports the [link:https://developer.mozilla.org/en-US/docs/Web/API/OES_texture_float OES_texture_float] extension.
According to [link:https://webglstats.com/ WebGLStats], as of February 2016 over 95% of WebGL enabled devices support this.<br />
Mugen87 marked this conversation as resolved.
Show resolved Hide resolved
- [page:Boolean floatFragmentTextures]: whether the context supports the [link:https://developer.mozilla.org/en-US/docs/Web/API/OES_texture_float OES_texture_float] extension.<br />
- [page:Boolean floatVertexTextures]: *true* if [page:Boolean floatFragmentTextures] and [page:Boolean vertexTextures] are both true.<br />
- [page:Method getMaxAnisotropy](): Returns the maximum available anisotropy.<br />
- [page:Method getMaxPrecision](): Returns the maximum available precision for vertex and fragment shaders. <br />
- [page:Boolean isWebGL2]: *true* if the context in use is a WebGL2RenderingContext object.<br />
- [page:Boolean logarithmicDepthBuffer]: *true* if the [page:parameter logarithmicDepthBuffer] was set to true in the constructor and
the context supports the [link:https://developer.mozilla.org/en-US/docs/Web/API/EXT_frag_depth EXT_frag_depth] extension.
According to [link:https://webglstats.com/ WebGLStats], as of February 2016 around 66% of WebGL enabled devices support this.<br />
the context supports the [link:https://developer.mozilla.org/en-US/docs/Web/API/EXT_frag_depth EXT_frag_depth] extension.<br />
- [page:Integer maxAttributes]: The value of *gl.MAX_VERTEX_ATTRIBS*.<br />
- [page:Integer maxCubemapSize]: The value of *gl.MAX_CUBE_MAP_TEXTURE_SIZE*.
Maximum height * width of cube map textures that a shader can use.<br />
Expand Down
4 changes: 2 additions & 2 deletions docs/api/en/renderers/webgl/WebGLProgram.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ <h3>[property:Object program]</h3>
<p>The actual shader program.</p>

<h3>[property:WebGLShader vertexShader]</h3>
<p>An instance of [page:WebGLShader] representing the vertex shader.</p>
<p>The vertex shader.</p>

<h3>[property:WebGLShader fragmentShader]</h3>
<p>An instance of [page:WebGLShader] representing the frament shader.</p>
<p>The frament shader.</p>

<h2>Methods</h2>

Expand Down
50 changes: 0 additions & 50 deletions docs/api/en/renderers/webgl/WebGLShader.html

This file was deleted.

61 changes: 0 additions & 61 deletions docs/api/en/renderers/webgl/WebGLState.html

This file was deleted.

6 changes: 2 additions & 4 deletions docs/api/zh/renderers/WebGLRenderer.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,13 @@ <h3>[property:Object capabilities]</h3>
<p>
一个包含当前渲染环境([link:https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext RenderingContext])的功能细节的对象。<br />

- [page:Boolean floatFragmentTextures]: 环境是否支持[link:https://developer.mozilla.org/en-US/docs/Web/API/OES_texture_float OES_texture_float]扩展。
根据[link:https://webglstats.com/ WebGLStats], 截至2016年2月,超过95%的支持WebGL的设备支持此功能<br />
- [page:Boolean floatFragmentTextures]: 环境是否支持[link:https://developer.mozilla.org/en-US/docs/Web/API/OES_texture_float OES_texture_float]扩展<br />
- [page:Boolean floatVertexTextures]: 如果[page:Boolean floatFragmentTextures]和[page:Boolean vertexTextures]都是true, 则此值为*true* <br />
- [page:Method getMaxAnisotropy](): 返回最大可用各向异性。<br />
- [page:Method getMaxPrecision](): 返回顶点着色器和片元着色器的最大可用精度。 <br />
- [page:Boolean isWebGL2]: *true* if the context in use is a WebGL2RenderingContext object.<br />
- [page:Boolean logarithmicDepthBuffer]: 如果[page:parameter logarithmicDepthBuffer]在构造器中被设为true且
环境支持[link:https://developer.mozilla.org/en-US/docs/Web/API/EXT_frag_depth EXT_frag_depth]扩展,则此值为*true*
根据[link:https://webglstats.com/ WebGLStats], 截至2016年2月, 约66%的支持WebGL的设备支持此功能<br />
环境支持[link:https://developer.mozilla.org/en-US/docs/Web/API/EXT_frag_depth EXT_frag_depth]扩展,则此值为*true*<br />
- [page:Integer maxAttributes]: *gl.MAX_VERTEX_ATTRIBS*的值<br />
- [page:Integer maxCubemapSize]: *gl.MAX_CUBE_MAP_TEXTURE_SIZE* 的值,着色器可使用的立方体贴图纹理的最大宽度*高度<br />
- [page:Integer maxFragmentUniforms]: *gl.MAX_FRAGMENT_UNIFORM_VECTORS*的值,片元着色器可使用的全局变量(uniforms)数量<br />
Expand Down
4 changes: 2 additions & 2 deletions docs/api/zh/renderers/webgl/WebGLProgram.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@ <h3>[property:Object program]</h3>
<p>The actual shader program.</p>

<h3>[property:WebGLShader vertexShader]</h3>
<p>An instance of [page:WebGLShader] representing the vertex shader.</p>
<p>The vertex shader.</p>

<h3>[property:WebGLShader fragmentShader]</h3>
<p>An instance of [page:WebGLShader] representing the frament shader.</p>
<p>The frament shader.</p>

<h2>方法</h2>

Expand Down
51 changes: 0 additions & 51 deletions docs/api/zh/renderers/webgl/WebGLShader.html

This file was deleted.

61 changes: 0 additions & 61 deletions docs/api/zh/renderers/webgl/WebGLState.html

This file was deleted.

8 changes: 2 additions & 6 deletions docs/list.json
Original file line number Diff line number Diff line change
Expand Up @@ -427,9 +427,7 @@
},

"WebGLRenderer": {
"WebGLProgram": "api/en/renderers/webgl/WebGLProgram",
"WebGLShader": "api/en/renderers/webgl/WebGLShader",
"WebGLState": "api/en/renderers/webgl/WebGLState"
"WebGLProgram": "api/en/renderers/webgl/WebGLProgram"
}

}
Expand Down Expand Up @@ -926,9 +924,7 @@
},

"WebGL渲染器": {
"WebGLProgram": "api/zh/renderers/webgl/WebGLProgram",
"WebGLShader": "api/zh/renderers/webgl/WebGLShader",
"WebGLState": "api/zh/renderers/webgl/WebGLState"
"WebGLProgram": "api/zh/renderers/webgl/WebGLProgram"
}

}
Expand Down