MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / copyKeys

Function copyKeys

src/lib/libwebgl.js:3561–3563  ·  view source on GitHub ↗
(dst, src)

Source from the content-addressed store, hash-verified

3559
3560#if GL_EXPLICIT_UNIFORM_BINDING
3561 function copyKeys(dst, src) {
3562 for (var key of Object.keys(src)) { dst[key] = src[key] };
3563 }
3564 // Collect sampler and ubo binding locations from the vertex and fragment shaders.
3565 program.explicitUniformBindings = {};
3566 program.explicitSamplerBindings = {};

Callers 1

libwebgl.jsFile · 0.85

Calls 1

keysMethod · 0.65

Tested by

no test coverage detected