Skip to content

glGetUniformLocation

Returns the location of a uniform variable

function glGetUniformLocation(int $program, string $name) : int
arguments
  1. int $program Specifies the program object to be queried.
  2. string $name Points to a null terminated string containing the name of the uniform variable whose location is to be queried.
returns

int


Copyright © 2010-2014 Khronos Group

This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. https://opencontent.org/openpub/.