()
| 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, |
nothing calls this directly
no outgoing calls
no test coverage detected