GLShader.newFromBytes

Creates a gsk.glshader.GLShader that will render pixels using the specified code.

class GLShader
static
newFromBytes

Parameters

sourcecode glib.bytes.Bytes

GLSL sourcecode for the shader, as a glib.bytes.Bytes

Return Value

Type: gsk.glshader.GLShader