get_n_uniforms


Description:

public int get_n_uniforms ()

Get the number of declared uniforms for this shader.

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`

Returns:

The number of declared uniforms