copy


Description:

public Pipeline copy ()

Creates a new pipeline with the configuration copied from the source pipeline.

We would strongly advise developers to always aim to use copy instead of Pipeline whenever there will be any similarity between two pipelines. Copying a pipeline helps Cogl keep track of a pipelines ancestry which we may use to help minimize GPU state changes.

Parameters:

this

a Pipeline object to copy

Returns:

a pointer to the newly allocated Pipeline