MCPcopy
hub / github.com/shuding/cobe / getUniformLocations

Function getUniformLocations

src/webgl.js:48–54  ·  view source on GitHub ↗
(gl, program, names)

Source from the content-addressed store, hash-verified

46}
47
48export function getUniformLocations(gl, program, names) {
49 const locations = {}
50 for (const name of names) {
51 locations[name] = gl.getUniformLocation(program, name)
52 }
53 return locations
54}
55
56export function getAttribLocations(gl, program, names) {
57 const locations = {}

Callers 1

index.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…