(gl: WebGLRenderingContext)
| 219 | } |
| 220 | |
| 221 | export function createFramebuffer(gl: WebGLRenderingContext): WebGLFramebuffer { |
| 222 | return throwIfNull<WebGLFramebuffer>( |
| 223 | gl, () => gl.createFramebuffer(), 'Unable to create WebGLFramebuffer.'); |
| 224 | } |
| 225 | |
| 226 | export function bindVertexBufferToProgramAttribute( |
| 227 | gl: WebGLRenderingContext, program: WebGLProgram, attribute: string, |
nothing calls this directly
no test coverage detected
searching dependent graphs…