findUniformByName

open fun findUniformByName(name: String): Int

Looks for a uniform by the name @name, and returns the index of the uniform, or -1 if it was not found.

Return

The index of the uniform, or -1

Parameters

name

uniform name