(video)
| 279 | } |
| 280 | |
| 281 | updateVideoFrame(video) { |
| 282 | if (!this.textures.source || !video) return; |
| 283 | const gl = this.gl; |
| 284 | gl.bindTexture(gl.TEXTURE_2D, this.textures.source); |
| 285 | gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, video); |
| 286 | } |
| 287 | |
| 288 | setOverlayTexture(image) { |
| 289 | if (this.textures.overlay) { |
no outgoing calls
no test coverage detected