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

Method constructor

gpu-pipeline/webgl/gl-class.js:152–154  ·  view source on GitHub ↗
(gl)

Source from the content-addressed store, hash-verified

150// A GPU processing step.
151class MaskStep {
152 constructor(gl) {
153 this.proc = new GlShaderProcessor(gl, MASK_SHADER);
154 }
155 process(frame, mask) {
156 this.proc.startProcessFrame(frame.width, frame.height);
157 this.proc.bindTextures(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected