Cogl.Pipeline.new
Description: Reference for Cogl.Pipeline.new

### Constructor

# Cogl Pipelinenew

since: 2.0

#### Declaration [src]

    CoglPipeline*
    cogl_pipeline_new (
      CoglContext* context
    )

#### Description [src]

Allocates and initializes a default simple pipeline that will color a primitive white.

Stability: Unstable

Available since: 2.0

#### Parameters

`context`

  Type: `CoglContext`

  A `CoglContext`.

  The data is owned by the caller of the function.

#### Return value

Type: `CoglPipeline`

A pointer to a new `CoglPipeline`.

The caller of the function takes ownership of the data, and is responsible for freeing it.