set_source


Description:


public void set_source (Material material)

This function changes the material at the top of the source stack.

Note:

Latest drawing apis all take an explicit CoglPipeline argument so this stack of CoglMaterials shouldn't be used.

The material at the top of this stack defines the GPU state used to process subsequent primitives, such as rectangles drawn with rectangle or vertices drawn using draw.

Parameters:

material

A CoglMaterial


Namespace: Cogl
Package: cogl-1.0