get_resource


Description:

public unowned string? get_resource ()

Gets the resource path for 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 resource path for the shader