hasValue

fun hasValue(uniformName: String): Boolean

Checks if a shader has a specific uniform variable.

Return

true if the uniform variable exists, false otherwise.

Parameters

uniformName

The name of the uniform variable. You can find the uniform names in the shader code.