Shader.get_uniform_location

Queries an uniform location from OpenGL and caches it in uniform_locations. If the location was already queried the cache is returned.

class Shader
GLint
get_uniform_location
(
string name
)

Meta