GLShader.findUniformByName
int findUniformByName(string name)Looks for a uniform by the name name, and returns the index of the uniform, or -1 if it was not found.
Parameters
name | uniform name |
Returns
The index of the uniform, or -1
int findUniformByName(string name)Looks for a uniform by the name name, and returns the index of the uniform, or -1 if it was not found.
name | uniform name |