MCPcopy Create free account
hub / github.com/tensorflow/tfjs-examples / createTexture

Function createTexture

gpu-pipeline/webgl/gl-util.js:128–130  ·  view source on GitHub ↗
(gl, texture, width, height)

Source from the content-addressed store, hash-verified

126
127 // Returns a wrapper class with a texture and its util.
128 function createTexture(gl, texture, width, height) {
129 return new GlTextureImpl(gl, texture, width, height);
130 }
131
132 // Returns a wrapper class with a WebGL program and its util functions.
133 function createProgram(gl, vertexSrc, fragmentSrc) {

Callers 1

predictFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected