Lines Matching refs:uniformLoc
137 int uniformLoc = gl.getUniformLocation(program.getProgram(), "injectionSwitch"); in render() local
138 if (uniformLoc != -1) in render()
139 gl.uniform2f(uniformLoc, 0.0f, 1.0f); in render()
141 uniformLoc = gl.getUniformLocation(program.getProgram(), "resolution"); in render()
142 if (uniformLoc != -1) in render()
143 gl.uniform2f(uniformLoc, glw::GLfloat(img.getWidth()), glw::GLfloat(img.getHeight())); in render()
145 uniformLoc = gl.getUniformLocation(program.getProgram(), "mouse"); in render()
146 if (uniformLoc != -1) in render()
147 gl.uniform2f(uniformLoc, 0.0f, 0.0f); in render()
149 uniformLoc = gl.getUniformLocation(program.getProgram(), "time"); in render()
150 if (uniformLoc != -1) in render()
151 gl.uniform1f(uniformLoc, 0.0f); in render()