(gl: WebGL2RenderingContext)
| 298 | } |
| 299 | |
| 300 | function createFrameBuffer(gl: WebGL2RenderingContext): WebGLFramebuffer { |
| 301 | const fb = gl.createFramebuffer(); |
| 302 | if (fb == null) { |
| 303 | throw new Error('Could not create framebuffer'); |
| 304 | } |
| 305 | return fb; |
| 306 | } |
| 307 | |
| 308 | export function drawTextureProgram( |
| 309 | gl: WebGL2RenderingContext, flipHorizontal: boolean, flipVertical: boolean, |
no outgoing calls
no test coverage detected
searching dependent graphs…