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