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

Method createTexture

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

Source from the content-addressed store, hash-verified

419 }
420
421 createTexture() {
422 const texture = this.context.createTexture();
423 this.textureCache.push(texture);
424 return texture;
425 }
426
427 setupConstants(args) {
428 const { context: gl } = this;

Callers 9

onRequestTextureMethod · 0.95
setupConstantsMethod · 0.95
_setupOutputTextureMethod · 0.95
cloneTextureMethod · 0.80
newTextureMethod · 0.80
clearMethod · 0.80
_setupOutputTextureMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected