Constructor
GskGLShadernew_from_bytes
Declaration [src]
GskGLShader*
gsk_gl_shader_new_from_bytes (
GBytes* sourcecode
)
Parameters
sourcecode
-
Type:
GBytes
GLSL sourcecode for the shader, as a
GBytes
The data is owned by the caller of the function.
Return value
Type: GskGLShader
A new GskGLShader
The caller of the function takes ownership of the data, and is responsible for freeing it. |