get_uniform_offset


Description:

public int get_uniform_offset (int idx)

Get the offset into the data block where data for this uniforms is stored.

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 data offset