Constructor
Gsk.GLShader.new_from_bytes
Declaration [src]
GskGLShader*
gsk_gl_shader_new_from_bytes (
GBytes* sourcecode
)
Parameters
sourcecode |
GBytes* |
GLSL sourcecode for the shader, as a |
|
Ownership is not transferred to the callee |
Return value
Returns: GskGLShader |
|
A new |
|
Ownership of the data is transferred to the caller |