GLShader.newFromBytes
Creates a gsk.glshader.GLShader that will render pixels using the specified code.
Parameters
sourcecode | GLSL sourcecode for the shader, as a glib.bytes.Bytes |
Returns
A new gsk.glshader.GLShader
Creates a gsk.glshader.GLShader that will render pixels using the specified code.
sourcecode | GLSL sourcecode for the shader, as a glib.bytes.Bytes |