File tree 2 files changed +10
-0
lines changed 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -201,8 +201,13 @@ <h3>[property:Object extensions]</h3>
201
201
< li > `WEBGL_compressed_texture_s3tc`</ li >
202
202
< li > `WEBGL_compressed_texture_pvrtc`</ li >
203
203
< li > `WEBGL_compressed_texture_etc1`</ li >
204
+ < li > See more: < a href ="https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Using_Extensions#extension_list " target ="_blank "> Extension list</ a > </ li >
204
205
</ ul >
205
206
207
+ < p >
208
+ - [page:Boolean has]( [param:String extensionName] ): `true` if the extension is supported.
209
+ </ p >
210
+
206
211
< h3 > [property:string outputColorSpace]</ h3 >
207
212
< p >
208
213
Defines the output color space of the renderer. Default is [page:Textures THREE.SRGBColorSpace].
Original file line number Diff line number Diff line change @@ -141,14 +141,19 @@ <h3>[property:Object extensions]</h3>
141
141
- [page:Object get]( [param:String extensionName] ):
142
142
用于检查是否支持各种扩展,并返回一个对象,其中包含扩展的详细信息。
143
143
该方法检查以下扩展:< br />
144
+ </ p >
144
145
145
146
< ul >
146
147
< li > *WEBGL_depth_texture*</ li >
147
148
< li > *EXT_texture_filter_anisotropic*</ li >
148
149
< li > *WEBGL_compressed_texture_s3tc*</ li >
149
150
< li > *WEBGL_compressed_texture_pvrtc*</ li >
150
151
< li > *WEBGL_compressed_texture_etc1*</ li >
152
+ < li > 查看更多:< a href ="https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Using_Extensions#extension_list " target ="_blank "> Extension list</ a > </ li >
151
153
</ ul >
154
+
155
+ < p >
156
+ - [page:Boolean has]( [param:String extensionName] ): 如果支持该扩展则返回 `true`。
152
157
</ p >
153
158
154
159
< h3 > [property:string outputColorSpace]</ h3 >
You can’t perform that action at this time.
0 commit comments