MCPcopy Index your code
hub / github.com/gpujs/gpu.js / initExtensions

Method initExtensions

src/backend/web-gl/kernel.js:238–246  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

236 }
237
238 initExtensions() {
239 this.extensions = {
240 OES_texture_float: this.context.getExtension('OES_texture_float'),
241 OES_texture_float_linear: this.context.getExtension('OES_texture_float_linear'),
242 OES_element_index_uint: this.context.getExtension('OES_element_index_uint'),
243 WEBGL_draw_buffers: this.context.getExtension('WEBGL_draw_buffers'),
244 WEBGL_color_buffer_float: this.context.getExtension('WEBGL_color_buffer_float'),
245 };
246 }
247
248 /**
249 * @desc Validate settings related to Kernel, such as dimensions size, and auto output support.

Callers 1

buildMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected