(gl, framebuffer, texture, width, height)
| 32 | // A wrapper class for WebGL texture and its associted framebuffer and utility functions. |
| 33 | class 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_); |
nothing calls this directly
no outgoing calls
no test coverage detected