Gsk.GLShader.new_from_bytes
Description: Reference for Gsk.GLShader.new_from_bytes

### Constructor

# Gsk GLShadernew_from_bytes

#### Declaration [src]

    GskGLShader*
    gsk_gl_shader_new_from_bytes (
      GBytes* sourcecode
    )

#### Description [src]

Creates a `GskGLShader` that will render pixels using the specified code.

#### Parameters

`sourcecode` | `GBytes*`
| GLSL sourcecode for the shader, as a `GBytes`
| The data is owned by the caller of the function.

#### Return value

Returns: | `GskGLShader`
| A new `GskGLShader`
| The caller of the function takes ownership of the data, and is responsible for freeing it.