Skip to content

Commit

Permalink
Docs: Update colorSpace type, number → string
Browse files Browse the repository at this point in the history
  • Loading branch information
donmccurdy committed Apr 23, 2023
1 parent 7c0c81d commit 70ae890
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/api/en/renderers/WebGLRenderer.html
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ <h3>[property:Object extensions]</h3>
<li>`WEBGL_compressed_texture_etc1`</li>
</ul>

<h3>[property:number outputColorSpace]</h3>
<h3>[property:string outputColorSpace]</h3>
<p>
Defines the output color space of the renderer. Default is [page:Textures THREE.SRGBColorSpace].
</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/en/textures/Texture.html
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ <h3>[property:number unpackAlignment]</h3>
[link:http://www.khronos.org/opengles/sdk/docs/man/xhtml/glPixelStorei.xml glPixelStorei] for more information.
</p>

<h3>[property:number colorSpace]</h3>
<h3>[property:string colorSpace]</h3>
<p>
`null` is the default. Textures containing color data should be
annotated with [page:Textures THREE.SRGBColorSpace] or
Expand Down
2 changes: 1 addition & 1 deletion docs/api/it/renderers/WebGLRenderer.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ <h3>[property:Object extensions]</h3>
</ul>
</p>

<h3>[property:number outputColorSpace]</h3>
<h3>[property:string outputColorSpace]</h3>
<p>Definisce la codifica di output del renderer. Il valore predefinito è [page:Textures THREE.SRGBColorSpace].</p>
<p>Se il target render è stato impostato utilizzando [page:WebGLRenderer.setRenderTarget .setRenderTarget],
verrà invece utilizzato renderTarget.texture.colorSpace.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/it/textures/Texture.html
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ <h3>[property:number unpackAlignment]</h3>
Vedi [link:http://www.khronos.org/opengles/sdk/docs/man/xhtml/glPixelStorei.xml glPixelStorei] per maggiori informazioni.
</p>

<h3>[property:number colorSpace]</h3>
<h3>[property:string colorSpace]</h3>
<p>
`null` è l'impostazione predefinita.
Vedi la pagina [page:Textures texture constants] per i dettagli su altri formati.<br /><br />
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/renderers/WebGLRenderer.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ <h3>[property:Object extensions]</h3>
</ul>
</p>

<h3>[property:number outputColorSpace]</h3>
<h3>[property:string outputColorSpace]</h3>
<p>定义渲染器的输出编码。默认为[page:Textures THREE.SRGBColorSpace]</p>
<p>如果渲染目标已经使用 [page:WebGLRenderer.setRenderTarget .setRenderTarget]、之后将直接使用renderTarget.texture.colorSpace</p>
<p>查看[page:Textures texture constants]页面以获取其他格式细节</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/textures/Texture.html
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ <h3>[property:number unpackAlignment]</h3>
请参阅[link:http://www.khronos.org/opengles/sdk/docs/man/xhtml/glPixelStorei.xml glPixelStorei]来了解详细信息。
</p>

<h3>[property:number colorSpace]</h3>
<h3>[property:string colorSpace]</h3>
<p>
默认值为*null*。
请参阅[page:Textures texture constants]来了解其他格式的详细信息。<br /><br />
Expand Down

0 comments on commit 70ae890

Please sign in to comment.