This function changes the material at the top of the source stack.
Latest drawing apis all take an explicit CoglPipeline argument so this stack of CoglMaterial<!-- --
>s 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.
| material |
A |