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

Function getProgramUniformLocation

tfjs-backend-webgl/src/webgl_util.ts:268–272  ·  view source on GitHub ↗
(
    gl: WebGLRenderingContext, program: WebGLProgram,
    uniformName: string)

Source from the content-addressed store, hash-verified

266}
267
268export function getProgramUniformLocation(
269 gl: WebGLRenderingContext, program: WebGLProgram,
270 uniformName: string): WebGLUniformLocation {
271 return gl.getUniformLocation(program, uniformName);
272}
273
274export function bindTextureToProgramUniformSampler(
275 gl: WebGLRenderingContext, texture: WebGLTexture,

Callers

nothing calls this directly

Calls 1

getUniformLocationMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…