findUniformByName

open fun findUniformByName(name: String): <Error class: unknown class>(source)

⚠️ Deprecated ⚠️

This is deprecated since version 4.16.

GTK's new Vulkan-focused rendering does not support this feature. Use ../gtk4/class.GLArea.html for OpenGL rendering.

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