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

Method constructor

gpu-pipeline/webgl/gl-class.js:34–37  ·  view source on GitHub ↗
(gl, framebuffer, texture, width, height)

Source from the content-addressed store, hash-verified

32// A wrapper class for WebGL texture and its associted framebuffer and utility functions.
33class GlTextureFramebuffer extends GlTextureImpl {
34 constructor(gl, framebuffer, texture, width, height) {
35 super(gl, texture, width, height);
36 this.framebuffer_ = framebuffer;
37 }
38
39 bindFramebuffer() {
40 this.gl_.bindFramebuffer(this.gl_.FRAMEBUFFER, this.framebuffer_);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected