@@ -12138,7 +12138,29 @@ interface WebGLRenderingContext {
12138
12138
getBufferParameter(target: number, pname: number): any;
12139
12139
getContextAttributes(): WebGLContextAttributes;
12140
12140
getError(): number;
12141
- getExtension(name: string): any;
12141
+ getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null;
12142
+ getExtension(extensionName: "EXT_texture_filter_anisotropic"): EXT_texture_filter_anisotropic | null;
12143
+ getExtension(extensionName: "EXT_frag_depth"): EXT_frag_depth | null;
12144
+ getExtension(extensionName: "EXT_shader_texture_lod"): EXT_shader_texture_lod | null;
12145
+ getExtension(extensionName: "EXT_sRGB"): EXT_sRGB | null;
12146
+ getExtension(extensionName: "OES_vertex_array_object"): OES_vertex_array_object | null;
12147
+ getExtension(extensionName: "WEBGL_color_buffer_float"): WEBGL_color_buffer_float | null;
12148
+ getExtension(extensionName: "WEBGL_compressed_texture_astc"): WEBGL_compressed_texture_astc | null;
12149
+ getExtension(extensionName: "WEBGL_compressed_texture_s3tc_srgb"): WEBGL_compressed_texture_s3tc_srgb | null;
12150
+ getExtension(extensionName: "WEBGL_debug_shaders"): WEBGL_debug_shaders | null;
12151
+ getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;
12152
+ getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null;
12153
+ getExtension(extensionName: "WEBGL_depth_texture"): WEBGL_depth_texture|null;
12154
+ getExtension(extensionName: "WEBGL_debug_renderer_info"): WEBGL_debug_renderer_info|null;
12155
+ getExtension(extensionName: "WEBGL_compressed_texture_s3tc"): WEBGL_compressed_texture_s3tc|null;
12156
+ getExtension(extensionName: "OES_texture_half_float_linear"): OES_texture_half_float_linear|null;
12157
+ getExtension(extensionName: "OES_texture_half_float"): OES_texture_half_float|null;
12158
+ getExtension(extensionName: "OES_texture_float_linear"): OES_texture_float_linear|null;
12159
+ getExtension(extensionName: "OES_texture_float"): OES_texture_float|null;
12160
+ getExtension(extensionName: "OES_standard_derivatives"): OES_standard_derivatives|null;
12161
+ getExtension(extensionName: "OES_element_index_uint"): OES_element_index_uint|null;
12162
+ getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays|null;
12163
+ getExtension(extensionName: string): any;
12142
12164
getFramebufferAttachmentParameter(target: number, attachment: number, pname: number): any;
12143
12165
getParameter(pname: number): any;
12144
12166
getProgramInfoLog(program: WebGLProgram | null): string | null;
@@ -14262,6 +14284,188 @@ declare var HTMLSummaryElement: {
14262
14284
new(): HTMLSummaryElement;
14263
14285
};
14264
14286
14287
+ interface EXT_blend_minmax {
14288
+ readonly MIN_EXT: number;
14289
+ readonly MAX_EXT: number;
14290
+ }
14291
+
14292
+ declare var EXT_blend_minmax: {
14293
+ prototype: EXT_blend_minmax;
14294
+ new(): EXT_blend_minmax;
14295
+ };
14296
+
14297
+ interface EXT_frag_depth {
14298
+ }
14299
+
14300
+ declare var EXT_frag_depth: {
14301
+ prototype: EXT_frag_depth;
14302
+ new(): EXT_frag_depth;
14303
+ };
14304
+
14305
+ interface EXT_shader_texture_lod {
14306
+ }
14307
+
14308
+ declare var EXT_shader_texture_lod: {
14309
+ prototype: EXT_shader_texture_lod;
14310
+ new(): EXT_shader_texture_lod;
14311
+ };
14312
+
14313
+ interface EXT_sRGB {
14314
+ readonly SRGB_EXT: number;
14315
+ readonly SRGB_ALPHA_EXT: number;
14316
+ readonly SRGB8_ALPHA8_EXT: number;
14317
+ readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: number;
14318
+ }
14319
+
14320
+ declare var EXT_sRGB: {
14321
+ prototype: EXT_sRGB;
14322
+ new(): EXT_sRGB;
14323
+ };
14324
+
14325
+ interface OES_vertex_array_object {
14326
+ readonly VERTEX_ARRAY_BINDING_OES: number;
14327
+ createVertexArrayOES(): WebGLVertexArrayObjectOES;
14328
+ deleteVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES): void;
14329
+ isVertexArrayOES(value: any): value is WebGLVertexArrayObjectOES;
14330
+ bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES): void;
14331
+ }
14332
+
14333
+ declare var OES_vertex_array_object: {
14334
+ prototype: OES_vertex_array_object;
14335
+ new(): OES_vertex_array_object;
14336
+ };
14337
+
14338
+ interface WebGLVertexArrayObjectOES {
14339
+ }
14340
+
14341
+ declare var WebGLVertexArrayObjectOES: {
14342
+ prototype: WebGLVertexArrayObjectOES;
14343
+ new(): WebGLVertexArrayObjectOES;
14344
+ };
14345
+
14346
+ interface WEBGL_color_buffer_float {
14347
+ readonly RGBA32F_EXT: number;
14348
+ readonly RGB32F_EXT: number;
14349
+ readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: number;
14350
+ readonly UNSIGNED_NORMALIZED_EXT: number;
14351
+ }
14352
+
14353
+ declare var WEBGL_color_buffer_float: {
14354
+ prototype: WEBGL_color_buffer_float;
14355
+ new(): WEBGL_color_buffer_float;
14356
+ };
14357
+
14358
+ interface WEBGL_compressed_texture_astc {
14359
+ readonly COMPRESSED_RGBA_ASTC_4x4_KHR: number;
14360
+ readonly COMPRESSED_RGBA_ASTC_5x4_KHR: number;
14361
+ readonly COMPRESSED_RGBA_ASTC_5x5_KHR: number;
14362
+ readonly COMPRESSED_RGBA_ASTC_6x5_KHR: number;
14363
+ readonly COMPRESSED_RGBA_ASTC_6x6_KHR: number;
14364
+ readonly COMPRESSED_RGBA_ASTC_8x5_KHR: number;
14365
+ readonly COMPRESSED_RGBA_ASTC_8x6_KHR: number;
14366
+ readonly COMPRESSED_RGBA_ASTC_8x8_KHR: number;
14367
+ readonly COMPRESSED_RGBA_ASTC_10x5_KHR: number;
14368
+ readonly COMPRESSED_RGBA_ASTC_10x6_KHR: number;
14369
+ readonly COMPRESSED_RGBA_ASTC_10x8_KHR: number;
14370
+ readonly COMPRESSED_RGBA_ASTC_10x10_KHR: number;
14371
+ readonly COMPRESSED_RGBA_ASTC_12x10_KHR: number;
14372
+ readonly COMPRESSED_RGBA_ASTC_12x12_KHR: number;
14373
+ readonly COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR: number;
14374
+ readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR: number;
14375
+ readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR: number;
14376
+ readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR: number;
14377
+ readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR: number;
14378
+ readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR: number;
14379
+ readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR: number;
14380
+ readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: number;
14381
+ readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR: number;
14382
+ readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR: number;
14383
+ readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR: number;
14384
+ readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR: number;
14385
+ readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR: number;
14386
+ readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: number;
14387
+ getSupportedProfiles(): string[];
14388
+ }
14389
+
14390
+ declare var WEBGL_compressed_texture_astc: {
14391
+ prototype: WEBGL_compressed_texture_astc;
14392
+ new(): WEBGL_compressed_texture_astc;
14393
+ };
14394
+
14395
+ interface WEBGL_compressed_texture_s3tc_srgb {
14396
+ readonly COMPRESSED_SRGB_S3TC_DXT1_EXT: number;
14397
+ readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: number;
14398
+ readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: number;
14399
+ readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: number;
14400
+ }
14401
+
14402
+ declare var WEBGL_compressed_texture_s3tc_srgb: {
14403
+ prototype: WEBGL_compressed_texture_s3tc_srgb;
14404
+ new(): WEBGL_compressed_texture_s3tc_srgb;
14405
+ };
14406
+
14407
+ interface WEBGL_debug_shaders {
14408
+ getTranslatedShaderSource(shader: WebGLShader): string;
14409
+ }
14410
+
14411
+ declare var WEBGL_debug_shaders: {
14412
+ prototype: WEBGL_debug_shaders;
14413
+ new(): WEBGL_debug_shaders;
14414
+ };
14415
+
14416
+ interface WEBGL_draw_buffers {
14417
+ readonly COLOR_ATTACHMENT0_WEBGL: number;
14418
+ readonly COLOR_ATTACHMENT1_WEBGL: number;
14419
+ readonly COLOR_ATTACHMENT2_WEBGL: number;
14420
+ readonly COLOR_ATTACHMENT3_WEBGL: number;
14421
+ readonly COLOR_ATTACHMENT4_WEBGL: number;
14422
+ readonly COLOR_ATTACHMENT5_WEBGL: number;
14423
+ readonly COLOR_ATTACHMENT6_WEBGL: number;
14424
+ readonly COLOR_ATTACHMENT7_WEBGL: number;
14425
+ readonly COLOR_ATTACHMENT8_WEBGL: number;
14426
+ readonly COLOR_ATTACHMENT9_WEBGL: number;
14427
+ readonly COLOR_ATTACHMENT10_WEBGL: number;
14428
+ readonly COLOR_ATTACHMENT11_WEBGL: number;
14429
+ readonly COLOR_ATTACHMENT12_WEBGL: number;
14430
+ readonly COLOR_ATTACHMENT13_WEBGL: number;
14431
+ readonly COLOR_ATTACHMENT14_WEBGL: number;
14432
+ readonly COLOR_ATTACHMENT15_WEBGL: number;
14433
+ readonly DRAW_BUFFER0_WEBGL: number;
14434
+ readonly DRAW_BUFFER1_WEBGL: number;
14435
+ readonly DRAW_BUFFER2_WEBGL: number;
14436
+ readonly DRAW_BUFFER3_WEBGL: number;
14437
+ readonly DRAW_BUFFER4_WEBGL: number;
14438
+ readonly DRAW_BUFFER5_WEBGL: number;
14439
+ readonly DRAW_BUFFER6_WEBGL: number;
14440
+ readonly DRAW_BUFFER7_WEBGL: number;
14441
+ readonly DRAW_BUFFER8_WEBGL: number;
14442
+ readonly DRAW_BUFFER9_WEBGL: number;
14443
+ readonly DRAW_BUFFER10_WEBGL: number;
14444
+ readonly DRAW_BUFFER11_WEBGL: number;
14445
+ readonly DRAW_BUFFER12_WEBGL: number;
14446
+ readonly DRAW_BUFFER13_WEBGL: number;
14447
+ readonly DRAW_BUFFER14_WEBGL: number;
14448
+ readonly DRAW_BUFFER15_WEBGL: number;
14449
+ readonly MAX_COLOR_ATTACHMENTS_WEBGL: number;
14450
+ readonly MAX_DRAW_BUFFERS_WEBGL: number;
14451
+ drawBuffersWEBGL(buffers: number[]): void;
14452
+ }
14453
+
14454
+ declare var WEBGL_draw_buffers: {
14455
+ prototype: WEBGL_draw_buffers;
14456
+ new(): WEBGL_draw_buffers;
14457
+ };
14458
+
14459
+ interface WEBGL_lose_context {
14460
+ loseContext(): void;
14461
+ restoreContext(): void;
14462
+ }
14463
+
14464
+ declare var WEBGL_lose_context: {
14465
+ prototype: WEBGL_lose_context;
14466
+ new(): WEBGL_lose_context;
14467
+ };
14468
+
14265
14469
declare type EventListenerOrEventListenerObject = EventListener | EventListenerObject;
14266
14470
14267
14471
interface DecodeErrorCallback {
0 commit comments