get_uniform_type
Description:
Get the type of the declared uniform for this shader at index idx
.
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` |
idx |
index of the uniform |
Returns:
The type of the declared uniform |