Skip to content

Commit

Permalink
feat(webgl): add more extensions to WebGLExtensionMap
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Aug 8, 2022
1 parent 826a9a8 commit dd2e295
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/webgl/src/api/ext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,15 @@ export interface WebGLExtensionMap {
ANGLE_instanced_arrays: ANGLE_instanced_arrays;
EXT_blend_minmax: EXT_blend_minmax;
EXT_color_buffer_float: WEBGL_color_buffer_float;
EXT_color_buffer_half_float: EXT_color_buffer_half_float;
EXT_float_blend: EXT_float_blend;
EXT_frag_depth: EXT_frag_depth;
EXT_shader_texture_lod: EXT_shader_texture_lod;
EXT_sRGB: EXT_sRGB;
EXT_texture_compression_rgtc: EXT_texture_compression_rgtc;
EXT_texture_filter_anisotropic: EXT_texture_filter_anisotropic;
OES_element_index_uint: OES_element_index_uint;
OES_fbo_render_mipmap: OES_fbo_render_mipmap;
OES_standard_derivatives: OES_standard_derivatives;
OES_texture_float_linear: OES_texture_float_linear;
OES_texture_float: OES_texture_float;
Expand All @@ -34,13 +38,16 @@ export interface WebGLExtensionMap {
OES_vertex_array_object: OES_vertex_array_object;
WEBGL_color_buffer_float: WEBGL_color_buffer_float;
WEBGL_compressed_texture_astc: WEBGL_compressed_texture_astc;
WEBGL_compressed_texture_etc: WEBGL_compressed_texture_etc;
WEBGL_compressed_texture_etc1: WEBGL_compressed_texture_etc1;
WEBGL_compressed_texture_s3tc_srgb: WEBGL_compressed_texture_s3tc_srgb;
WEBGL_compressed_texture_s3tc: WEBGL_compressed_texture_s3tc;
WEBGL_debug_renderer_info: WEBGL_debug_renderer_info;
WEBGL_debug_shaders: WEBGL_debug_shaders;
WEBGL_depth_texture: WEBGL_depth_texture;
WEBGL_draw_buffers: WEBGL_draw_buffers;
WEBGL_lose_context: WEBGL_lose_context;
WEBGL_multi_draw: WEBGL_multi_draw;
}

export type ExtensionName = keyof WebGLExtensionMap;
Expand Down

0 comments on commit dd2e295

Please sign in to comment.