diff --git a/web/src/render/extension/ANGLE_instanced_arrays.js b/web/src/render/extension/ANGLE_instanced_arrays.js deleted file mode 100644 index 0e5326d5..00000000 --- a/web/src/render/extension/ANGLE_instanced_arrays.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2017-2020 The ShadowEditor Authors. All rights reserved. - * - * Use of this source code is governed by a MIT-style - * license that can be found in the LICENSE file. - * - * For more information, please visit: https://github.com/tengge1/ShadowEditor - * You can also visit: https://gitee.com/tengge1/ShadowEditor - */ -/** - * The ANGLE_instanced_arrays extension is part of the WebGL API and - * allows to draw the same object, or groups of similar objects multiple - * times, if they share the same vertex data, primitive count and type. - * @param {*} gl WebGL - * @returns {*} Extension - * @see https://developer.mozilla.org/en-US/docs/Web/API/ANGLE_instanced_arrays - */ -function ANGLE_instanced_arrays(gl) { - return gl.getExtension('ANGLE_instanced_arrays'); -} - -export default ANGLE_instanced_arrays; \ No newline at end of file diff --git a/web/src/render/extension/EXT_blend_minmax.js b/web/src/render/extension/EXT_blend_minmax.js deleted file mode 100644 index ea71bee6..00000000 --- a/web/src/render/extension/EXT_blend_minmax.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2017-2020 The ShadowEditor Authors. All rights reserved. - * - * Use of this source code is governed by a MIT-style - * license that can be found in the LICENSE file. - * - * For more information, please visit: https://github.com/tengge1/ShadowEditor - * You can also visit: https://gitee.com/tengge1/ShadowEditor - */ -/** - * The EXT_blend_minmax extension is part of the WebGL API and - * extends blending capabilities by adding two new blend equations: - * the minimum or maximum color components of the source and destination colors. - * @param {*} gl WebGL - * @returns {*} Extension - * @see https://developer.mozilla.org/en-US/docs/Web/API/EXT_blend_minmax - */ -function EXT_blend_minmax(gl) { - return gl.getExtension('EXT_blend_minmax'); -} - -export default EXT_blend_minmax; \ No newline at end of file diff --git a/web/src/render/extension/EXT_color_buffer_half_float.js b/web/src/render/extension/EXT_color_buffer_half_float.js deleted file mode 100644 index adba1ce6..00000000 --- a/web/src/render/extension/EXT_color_buffer_half_float.js +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright 2017-2020 The ShadowEditor Authors. All rights reserved. - * - * Use of this source code is governed by a MIT-style - * license that can be found in the LICENSE file. - * - * For more information, please visit: https://github.com/tengge1/ShadowEditor - * You can also visit: https://gitee.com/tengge1/ShadowEditor - */ -/** - * The EXT_color_buffer_half_float extension is part of the WebGL API and - * adds the ability to render to 16-bit floating-point color buffers. - * @param {*} gl WebGL - * @returns {*} Extension - * @see https://developer.mozilla.org/en-US/docs/Web/API/EXT_color_buffer_half_float - */ -function EXT_color_buffer_half_float(gl) { - return gl.getExtension('EXT_color_buffer_half_float'); -} - -export default EXT_color_buffer_half_float; \ No newline at end of file diff --git a/web/src/render/extension/EXT_disjoint_timer_query.js b/web/src/render/extension/EXT_disjoint_timer_query.js deleted file mode 100644 index 33d01635..00000000 --- a/web/src/render/extension/EXT_disjoint_timer_query.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2017-2020 The ShadowEditor Authors. All rights reserved. - * - * Use of this source code is governed by a MIT-style - * license that can be found in the LICENSE file. - * - * For more information, please visit: https://github.com/tengge1/ShadowEditor - * You can also visit: https://gitee.com/tengge1/ShadowEditor - */ -/** - * The EXT_disjoint_timer_query extension is part of the WebGL API and - * provides a way to measure the duration of a set of GL commands, without - * stalling the rendering pipeline. - * @param {*} gl WebGL - * @returns {*} Extension - * @see https://developer.mozilla.org/en-US/docs/Web/API/EXT_disjoint_timer_query - */ -function EXT_disjoint_timer_query(gl) { - return gl.getExtension('EXT_disjoint_timer_query'); -} - -export default EXT_disjoint_timer_query; \ No newline at end of file diff --git a/web/src/render/extension/EXT_frag_depth.js b/web/src/render/extension/EXT_frag_depth.js deleted file mode 100644 index 1ad7fa60..00000000 --- a/web/src/render/extension/EXT_frag_depth.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2017-2020 The ShadowEditor Authors. All rights reserved. - * - * Use of this source code is governed by a MIT-style - * license that can be found in the LICENSE file. - * - * For more information, please visit: https://github.com/tengge1/ShadowEditor - * You can also visit: https://gitee.com/tengge1/ShadowEditor - */ -/** - * The EXT_frag_depth extension is part of the WebGL API and - * enables to set a depth value of a fragment from within the - * fragment shader. - * @param {*} gl WebGL - * @returns {*} Extension - * @see https://developer.mozilla.org/en-US/docs/Web/API/EXT_frag_depth - */ -function EXT_frag_depth(gl) { - return gl.getExtension('EXT_frag_depth'); -} - -export default EXT_frag_depth; \ No newline at end of file diff --git a/web/src/render/extension/EXT_sRGB.js b/web/src/render/extension/EXT_sRGB.js deleted file mode 100644 index ab6bf353..00000000 --- a/web/src/render/extension/EXT_sRGB.js +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright 2017-2020 The ShadowEditor Authors. All rights reserved. - * - * Use of this source code is governed by a MIT-style - * license that can be found in the LICENSE file. - * - * For more information, please visit: https://github.com/tengge1/ShadowEditor - * You can also visit: https://gitee.com/tengge1/ShadowEditor - */ -/** - * The EXT_sRGB extension is part of the WebGL API and - * adds sRGB support to textures and framebuffer objects. - * @param {*} gl WebGL - * @returns {*} Extension - * @see https://developer.mozilla.org/en-US/docs/Web/API/EXT_sRGB - */ -function EXT_sRGB(gl) { - return gl.getExtension('EXT_sRGB'); -} - -export default EXT_sRGB; \ No newline at end of file diff --git a/web/src/render/extension/EXT_shader_texture_lod.js b/web/src/render/extension/EXT_shader_texture_lod.js deleted file mode 100644 index 4ecdb36c..00000000 --- a/web/src/render/extension/EXT_shader_texture_lod.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2017-2020 The ShadowEditor Authors. All rights reserved. - * - * Use of this source code is governed by a MIT-style - * license that can be found in the LICENSE file. - * - * For more information, please visit: https://github.com/tengge1/ShadowEditor - * You can also visit: https://gitee.com/tengge1/ShadowEditor - */ -/** - * The EXT_shader_texture_lod extension is part of the WebGL API and - * adds additional texture functions to the OpenGL ES Shading Language - * which provide the shader writer with explicit control of LOD (Level of detail). - * @param {*} gl WebGL - * @returns {*} Extension - * @see https://developer.mozilla.org/en-US/docs/Web/API/EXT_shader_texture_lod - */ -function EXT_shader_texture_lod(gl) { - return gl.getExtension('EXT_shader_texture_lod'); -} - -export default EXT_shader_texture_lod; \ No newline at end of file diff --git a/web/src/render/extension/EXT_texture_filter_anisotropic.js b/web/src/render/extension/EXT_texture_filter_anisotropic.js deleted file mode 100644 index 71256059..00000000 --- a/web/src/render/extension/EXT_texture_filter_anisotropic.js +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright 2017-2020 The ShadowEditor Authors. All rights reserved. - * - * Use of this source code is governed by a MIT-style - * license that can be found in the LICENSE file. - * - * For more information, please visit: https://github.com/tengge1/ShadowEditor - * You can also visit: https://gitee.com/tengge1/ShadowEditor - */ -/** - * The EXT_texture_filter_anisotropic extension is part of the WebGL API and - * exposes two constants for anisotropic filtering (AF). - * @param {*} gl WebGL - * @returns {*} Extension - * @see https://developer.mozilla.org/en-US/docs/Web/API/EXT_texture_filter_anisotropic - */ -function EXT_texture_filter_anisotropic(gl) { - return gl.getExtension('EXT_texture_filter_anisotropic'); -} - -export default EXT_texture_filter_anisotropic; \ No newline at end of file diff --git a/web/src/render/extension/OES_element_index_uint.js b/web/src/render/extension/OES_element_index_uint.js deleted file mode 100644 index 20f02af6..00000000 --- a/web/src/render/extension/OES_element_index_uint.js +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright 2017-2020 The ShadowEditor Authors. All rights reserved. - * - * Use of this source code is governed by a MIT-style - * license that can be found in the LICENSE file. - * - * For more information, please visit: https://github.com/tengge1/ShadowEditor - * You can also visit: https://gitee.com/tengge1/ShadowEditor - */ -/** - * The OES_element_index_uint extension is part of the WebGL API and - * adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements(). - * @param {*} gl WebGL - * @returns {*} Extension - * @see https://developer.mozilla.org/en-US/docs/Web/API/OES_element_index_uint - */ -function OES_element_index_uint(gl) { - return gl.getExtension('OES_element_index_uint'); -} - -export default OES_element_index_uint; \ No newline at end of file diff --git a/web/src/render/extension/OES_standard_derivatives.js b/web/src/render/extension/OES_standard_derivatives.js deleted file mode 100644 index b2c57980..00000000 --- a/web/src/render/extension/OES_standard_derivatives.js +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright 2017-2020 The ShadowEditor Authors. All rights reserved. - * - * Use of this source code is governed by a MIT-style - * license that can be found in the LICENSE file. - * - * For more information, please visit: https://github.com/tengge1/ShadowEditor - * You can also visit: https://gitee.com/tengge1/ShadowEditor - */ -/** - * The OES_standard_derivatives extension is part of the WebGL API and - * adds the GLSL derivative functions dFdx, dFdy, and fwidth. - * @param {*} gl WebGL - * @returns {*} Extension - * @see https://developer.mozilla.org/en-US/docs/Web/API/OES_standard_derivatives - */ -function OES_standard_derivatives(gl) { - return gl.getExtension('OES_standard_derivatives'); -} - -export default OES_standard_derivatives; \ No newline at end of file diff --git a/web/src/render/extension/OES_texture_float.js b/web/src/render/extension/OES_texture_float.js deleted file mode 100644 index 9773332d..00000000 --- a/web/src/render/extension/OES_texture_float.js +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright 2017-2020 The ShadowEditor Authors. All rights reserved. - * - * Use of this source code is governed by a MIT-style - * license that can be found in the LICENSE file. - * - * For more information, please visit: https://github.com/tengge1/ShadowEditor - * You can also visit: https://gitee.com/tengge1/ShadowEditor - */ -/** - * The OES_texture_float extension is part of the WebGL API and - * exposes floating-point pixel types for textures. - * @param {*} gl WebGL - * @returns {*} Extension - * @see https://developer.mozilla.org/en-US/docs/Web/API/OES_texture_float - */ -function OES_texture_float(gl) { - return gl.getExtension('OES_texture_float'); -} - -export default OES_texture_float; \ No newline at end of file diff --git a/web/src/render/extension/OES_texture_float_linear.js b/web/src/render/extension/OES_texture_float_linear.js deleted file mode 100644 index 3ea4d00d..00000000 --- a/web/src/render/extension/OES_texture_float_linear.js +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright 2017-2020 The ShadowEditor Authors. All rights reserved. - * - * Use of this source code is governed by a MIT-style - * license that can be found in the LICENSE file. - * - * For more information, please visit: https://github.com/tengge1/ShadowEditor - * You can also visit: https://gitee.com/tengge1/ShadowEditor - */ -/** - * The OES_texture_float_linear extension is part of the WebGL API and - * allows linear filtering with floating-point pixel types for textures. - * @param {*} gl WebGL - * @returns {*} Extension - * @see https://developer.mozilla.org/en-US/docs/Web/API/OES_texture_float_linear - */ -function OES_texture_float_linear(gl) { - return gl.getExtension('OES_texture_float_linear'); -} - -export default OES_texture_float_linear; \ No newline at end of file diff --git a/web/src/render/extension/OES_texture_half_float.js b/web/src/render/extension/OES_texture_half_float.js deleted file mode 100644 index 7941fa6a..00000000 --- a/web/src/render/extension/OES_texture_half_float.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2017-2020 The ShadowEditor Authors. All rights reserved. - * - * Use of this source code is governed by a MIT-style - * license that can be found in the LICENSE file. - * - * For more information, please visit: https://github.com/tengge1/ShadowEditor - * You can also visit: https://gitee.com/tengge1/ShadowEditor - */ -/** - * The OES_texture_half_float extension is part of the WebGL API and - * adds texture formats with 16- (aka half float) and 32-bit floating-point - * components. - * @param {*} gl WebGL - * @returns {*} Extension - * @see https://developer.mozilla.org/en-US/docs/Web/API/OES_texture_half_float - */ -function OES_texture_half_float(gl) { - return gl.getExtension('OES_texture_half_float'); -} - -export default OES_texture_half_float; \ No newline at end of file diff --git a/web/src/render/extension/OES_texture_half_float_linear.js b/web/src/render/extension/OES_texture_half_float_linear.js deleted file mode 100644 index 2345a24f..00000000 --- a/web/src/render/extension/OES_texture_half_float_linear.js +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright 2017-2020 The ShadowEditor Authors. All rights reserved. - * - * Use of this source code is governed by a MIT-style - * license that can be found in the LICENSE file. - * - * For more information, please visit: https://github.com/tengge1/ShadowEditor - * You can also visit: https://gitee.com/tengge1/ShadowEditor - */ -/** - * The OES_texture_half_float_linear extension is part of the WebGL API and - * allows linear filtering with half floating-point pixel types for textures. - * @param {*} gl WebGL - * @returns {*} Extension - * @see https://developer.mozilla.org/en-US/docs/Web/API/OES_texture_half_float_linear - */ -function OES_texture_half_float_linear(gl) { - return gl.getExtension('OES_texture_half_float_linear'); -} - -export default OES_texture_half_float_linear; \ No newline at end of file diff --git a/web/src/render/extension/OES_vertex_array_object.js b/web/src/render/extension/OES_vertex_array_object.js deleted file mode 100644 index 410baee5..00000000 --- a/web/src/render/extension/OES_vertex_array_object.js +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright 2017-2020 The ShadowEditor Authors. All rights reserved. - * - * Use of this source code is governed by a MIT-style - * license that can be found in the LICENSE file. - * - * For more information, please visit: https://github.com/tengge1/ShadowEditor - * You can also visit: https://gitee.com/tengge1/ShadowEditor - */ -/** - * The OES_vertex_array_object extension is part of the WebGL API and - * provides vertex array objects (VAOs) which encapsulate vertex array states. - * These objects keep pointers to vertex data and provide names for different - * sets of vertex data. - * @param {*} gl WebGL - * @returns {*} Extension - * @see https://developer.mozilla.org/en-US/docs/Web/API/OES_vertex_array_object - */ -function OES_vertex_array_object(gl) { - return gl.getExtension('OES_vertex_array_object'); -} - -export default OES_vertex_array_object; \ No newline at end of file diff --git a/web/src/render/extension/WEBGL_color_buffer_float.js b/web/src/render/extension/WEBGL_color_buffer_float.js deleted file mode 100644 index 54c464b5..00000000 --- a/web/src/render/extension/WEBGL_color_buffer_float.js +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright 2017-2020 The ShadowEditor Authors. All rights reserved. - * - * Use of this source code is governed by a MIT-style - * license that can be found in the LICENSE file. - * - * For more information, please visit: https://github.com/tengge1/ShadowEditor - * You can also visit: https://gitee.com/tengge1/ShadowEditor - */ -/** - * The WEBGL_color_buffer_float extension is part of the WebGL API and - * adds the ability to render to 32-bit floating-point color buffers. - * @param {*} gl WebGL - * @returns {*} Extension - * @see https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_color_buffer_float - */ -function WEBGL_color_buffer_float(gl) { - return gl.getExtension('WEBGL_color_buffer_float'); -} - -export default WEBGL_color_buffer_float; \ No newline at end of file diff --git a/web/src/render/extension/WEBGL_compressed_texture_s3tc.js b/web/src/render/extension/WEBGL_compressed_texture_s3tc.js deleted file mode 100644 index de0c8d06..00000000 --- a/web/src/render/extension/WEBGL_compressed_texture_s3tc.js +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright 2017-2020 The ShadowEditor Authors. All rights reserved. - * - * Use of this source code is governed by a MIT-style - * license that can be found in the LICENSE file. - * - * For more information, please visit: https://github.com/tengge1/ShadowEditor - * You can also visit: https://gitee.com/tengge1/ShadowEditor - */ -/** - * The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and - * exposes four S3TC compressed texture formats. - * @param {*} gl WebGL - * @returns {*} Extension - * @see https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_s3tc - */ -function WEBGL_compressed_texture_s3tc(gl) { - return gl.getExtension('WEBGL_compressed_texture_s3tc'); -} - -export default WEBGL_compressed_texture_s3tc; \ No newline at end of file diff --git a/web/src/render/extension/WEBGL_compressed_texture_s3tc_srgb.js b/web/src/render/extension/WEBGL_compressed_texture_s3tc_srgb.js deleted file mode 100644 index 77d5c6de..00000000 --- a/web/src/render/extension/WEBGL_compressed_texture_s3tc_srgb.js +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright 2017-2020 The ShadowEditor Authors. All rights reserved. - * - * Use of this source code is governed by a MIT-style - * license that can be found in the LICENSE file. - * - * For more information, please visit: https://github.com/tengge1/ShadowEditor - * You can also visit: https://gitee.com/tengge1/ShadowEditor - */ -/** - * The WEBGL_compressed_texture_s3tc_srgb extension is part of the WebGL API and - * exposes four S3TC compressed texture formats for the sRGB colorspace. - * @param {*} gl WebGL - * @returns {*} Extension - * @see https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_s3tc_srgb - */ -function WEBGL_compressed_texture_s3tc_srgb(gl) { - return gl.getExtension('WEBGL_compressed_texture_s3tc_srgb'); -} - -export default WEBGL_compressed_texture_s3tc_srgb; \ No newline at end of file diff --git a/web/src/render/extension/WEBGL_debug_renderer_info.js b/web/src/render/extension/WEBGL_debug_renderer_info.js deleted file mode 100644 index 0de01364..00000000 --- a/web/src/render/extension/WEBGL_debug_renderer_info.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2017-2020 The ShadowEditor Authors. All rights reserved. - * - * Use of this source code is governed by a MIT-style - * license that can be found in the LICENSE file. - * - * For more information, please visit: https://github.com/tengge1/ShadowEditor - * You can also visit: https://gitee.com/tengge1/ShadowEditor - */ -/** - * The WEBGL_debug_renderer_info extension is part of the WebGL API and - * exposes two constants with information about the graphics driver for - * debugging purposes. - * @param {*} gl WebGL - * @returns {*} Extension - * @see https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_debug_renderer_info - */ -function WEBGL_debug_renderer_info(gl) { - return gl.getExtension('WEBGL_debug_renderer_info'); -} - -export default WEBGL_debug_renderer_info; \ No newline at end of file diff --git a/web/src/render/extension/WEBGL_debug_shaders.js b/web/src/render/extension/WEBGL_debug_shaders.js deleted file mode 100644 index a7e12f44..00000000 --- a/web/src/render/extension/WEBGL_debug_shaders.js +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright 2017-2020 The ShadowEditor Authors. All rights reserved. - * - * Use of this source code is governed by a MIT-style - * license that can be found in the LICENSE file. - * - * For more information, please visit: https://github.com/tengge1/ShadowEditor - * You can also visit: https://gitee.com/tengge1/ShadowEditor - */ -/** - * The WEBGL_debug_shaders extension is part of the WebGL API and - * exposes a method to debug shaders from privileged contexts. - * @param {*} gl WebGL - * @returns {*} Extension - * @see https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_debug_shaders - */ -function WEBGL_debug_shaders(gl) { - return gl.getExtension('WEBGL_debug_shaders'); -} - -export default WEBGL_debug_shaders; \ No newline at end of file diff --git a/web/src/render/extension/WEBGL_depth_texture.js b/web/src/render/extension/WEBGL_depth_texture.js deleted file mode 100644 index b70db991..00000000 --- a/web/src/render/extension/WEBGL_depth_texture.js +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright 2017-2020 The ShadowEditor Authors. All rights reserved. - * - * Use of this source code is governed by a MIT-style - * license that can be found in the LICENSE file. - * - * For more information, please visit: https://github.com/tengge1/ShadowEditor - * You can also visit: https://gitee.com/tengge1/ShadowEditor - */ -/** - * The WEBGL_depth_texture extension is part of the WebGL API and - * defines 2D depth and depth-stencil textures. - * @param {*} gl WebGL - * @returns {*} Extension - * @see https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_depth_texture - */ -function WEBGL_depth_texture(gl) { - return gl.getExtension('WEBGL_depth_texture'); -} - -export default WEBGL_depth_texture; \ No newline at end of file diff --git a/web/src/render/extension/WEBGL_draw_buffers.js b/web/src/render/extension/WEBGL_draw_buffers.js deleted file mode 100644 index 7d40881d..00000000 --- a/web/src/render/extension/WEBGL_draw_buffers.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2017-2020 The ShadowEditor Authors. All rights reserved. - * - * Use of this source code is governed by a MIT-style - * license that can be found in the LICENSE file. - * - * For more information, please visit: https://github.com/tengge1/ShadowEditor - * You can also visit: https://gitee.com/tengge1/ShadowEditor - */ -/** - * The WEBGL_draw_buffers extension is part of the WebGL API and - * enables a fragment shader to write to several textures, which - * is useful for deferred shading, for example. - * @param {*} gl WebGL - * @returns {*} Extension - * @see https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_draw_buffers - */ -function WEBGL_draw_buffers(gl) { - return gl.getExtension('WEBGL_draw_buffers'); -} - -export default WEBGL_draw_buffers; \ No newline at end of file diff --git a/web/src/render/extension/WEBGL_lose_context.js b/web/src/render/extension/WEBGL_lose_context.js deleted file mode 100644 index f9e60167..00000000 --- a/web/src/render/extension/WEBGL_lose_context.js +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright 2017-2020 The ShadowEditor Authors. All rights reserved. - * - * Use of this source code is governed by a MIT-style - * license that can be found in the LICENSE file. - * - * For more information, please visit: https://github.com/tengge1/ShadowEditor - * You can also visit: https://gitee.com/tengge1/ShadowEditor - */ -/** - * The WEBGL_lose_context extension is part of the WebGL API and - * exposes functions to simulate losing and restoring a WebGLRenderingContext. - * @param {*} gl WebGL - * @returns {*} Extension - * @see https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_lose_context - */ -function WEBGL_lose_context(gl) { - return gl.getExtension('WEBGL_lose_context'); -} - -export default WEBGL_lose_context; \ No newline at end of file diff --git a/web/src/render/neural_network/README.md b/web/src/render/neural_network/README.md deleted file mode 100644 index 3975d2e8..00000000 --- a/web/src/render/neural_network/README.md +++ /dev/null @@ -1 +0,0 @@ -# Neural Network Rendering(神经网络渲染) \ No newline at end of file diff --git a/web/src/render/path/README.md b/web/src/render/path/README.md deleted file mode 100644 index 986533b3..00000000 --- a/web/src/render/path/README.md +++ /dev/null @@ -1 +0,0 @@ -# Path Tracing(光线追踪) \ No newline at end of file diff --git a/web/src/render/voxel/README.md b/web/src/render/voxel/README.md deleted file mode 100644 index f661c2c6..00000000 --- a/web/src/render/voxel/README.md +++ /dev/null @@ -1 +0,0 @@ -# Voxel Rendering(体素渲染) \ No newline at end of file