Cogl.create_shader
Description: Reference for Cogl.create_shader

### Function

# Coglcreate_shader

deprecated: 1.16 since: 13

#### Declaration [src]

    CoglHandle
    cogl_create_shader (
      CoglShaderType shader_type
    )

#### Description [src]

Create a new shader handle, use `cogl_shader_source()` to set the source code to be used on it.

Available since: 13

Deprecated since: 1.16

Use `CoglSnippet` api.

#### Parameters

`shader_type`

  Type: `CoglShaderType`

  COGL_SHADER_TYPE_VERTEX or COGL_SHADER_TYPE_FRAGMENT.

#### Return value

Type: `CoglHandle`

A new shader handle.