find_uniform_by_name
Description:
Looks for a uniform by the name name
, and returns the index of the uniform, or -1 if it was not found.
Note:
GTK's new Vulkan-focused rendering does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) for OpenGL rendering.
Parameters:
this |
a `GskGLShader` |
name |
uniform name |
Returns:
The index of the uniform, or -1 |