get_uniform_name


Description:

public unowned string get_uniform_name (int idx)

Get the name 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 name of the declared uniform