GLShader.newFromBytes

gsk.glshader.GLShader newFromBytes(glib.bytes.Bytes sourcecode)

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

Parameters

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

Returns