'Declaration Public Overloads Shared Function GetUniformLocation( _ ByVal shaderProgram As UInteger, _ ByVal uniformName As String _ ) As Integer
public static int GetUniformLocation( uint shaderProgram, string uniformName )
Parameters
- shaderProgram
- The shader program ID
- uniformName
- The uniform variable name
Return Value
True if successful, false otherwise.