Allows optimization of drawing code. Enclose drawing primitives between begin-drawing and end-drawing calls.