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