getLocationAt

fun getLocationAt(index: Int): Int

Gets the location of a shader uniform variable at the given index.

Return

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

Parameters

index

The index of the uniform variable.