GLShader.from_bytes
Description:
Creates a `GskGLShader` that will render pixels using the specified code.
Note:
GTK's new Vulkan-focused rendering does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) for OpenGL rendering.
Parameters:
sourcecode |
GLSL sourcecode for the shader, as a `GBytes` |
Returns:
A new `GskGLShader` |