getDefaultLocation

Gets the location of a shader uniform variable at its default name.

Return

The location of the uniform variable, or -1 if not found.

Parameters

uniformLocation

The UniformLocation of the uniform variable.