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

Method canLoad

packages/tests/utils.js:397–399  ·  view source on GitHub ↗
(input: any)

Source from the content-addressed store, hash-verified

395 this.textures.forEach(t => gl.deleteTexture(t));
396 }
397 canLoad(input: any) {
398 return input instanceof FakeTexture;
399 }
400 get(ft: FakeTexture) {
401 const array = ft.getPixels();
402 if (array) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected