[ CCode ( has_construct_function = false ) ]
public GLShader.from_resource (string resource_path)
Creates a `GskGLShader` that will render pixels using the specified code.
GTK's new Vulkan-focused rendering does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) for OpenGL rendering.
| resource_path |
path to a resource that contains the GLSL sourcecode for the shader |
|
A new `GskGLShader` |