MCPcopy Create free account
hub / github.com/gre/gl-react / load

Method load

packages/tests/utils.js:355–367  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

353 );
354 }
355 load() {
356 ++counters.load;
357 const promise = d.promise.then(() => {
358 ++counters.createTexture;
359 this.texture = makeTexture(this.gl);
360 return {
361 texture: this.texture,
362 width: size[0],
363 height: size[1]
364 };
365 });
366 return promise;
367 }
368 }
369 return {
370 Loader,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected