Method
CoglContextset_named_pipeline
Declaration [src]
void
cogl_context_set_named_pipeline (
CoglContext* context,
CoglPipelineKey* key,
CoglPipeline* pipeline
)
Description [src]
Associate a CoglPipeline with a context and key. This will not take a new
reference to the pipeline, but will unref all associated pipelines when the context gets destroyed. Similarly, if a pipeline gets overwritten,
it will get unreffed as well.
Parameters
key-
Type:
CoglPipelineKeyA
CoglPipelineKeypointer.The data is owned by the caller of the method. pipeline-
Type:
CoglPipelineA
CoglPipelineto associate with thecontextandkey.The argument can be NULL.The data is owned by the caller of the method.