MCPcopy Create free account
hub / github.com/tensorflow/tfjs / createFramebuffer

Function createFramebuffer

tfjs-backend-webgl/src/webgl_util.ts:221–224  ·  view source on GitHub ↗
(gl: WebGLRenderingContext)

Source from the content-addressed store, hash-verified

219}
220
221export function createFramebuffer(gl: WebGLRenderingContext): WebGLFramebuffer {
222 return throwIfNull<WebGLFramebuffer>(
223 gl, () => gl.createFramebuffer(), 'Unable to create WebGLFramebuffer.');
224}
225
226export function bindVertexBufferToProgramAttribute(
227 gl: WebGLRenderingContext, program: WebGLProgram, attribute: string,

Callers

nothing calls this directly

Calls 1

throwIfNullFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…