get_source


Description:

public unowned Bytes get_source ()

Gets the GLSL sourcecode being used to render 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 source code for the shader