// Uniform2f writes a vec2 uniform variable. // // http://www.khronos.org/opengles/sdk/docs/man3/html/glUniform.xhtml func Uniform2f(dst Uniform, v0, v1 float32) { gl.Uniform2f(dst.Value, v0, v1) }
func (c *Context) Uniform2f(location *UniformLocation, x, y float32) { gl.Uniform2f(location.int32, x, y) }