1. A method comprising: receiving image attributes that define a graphical state; and modifying the graphical state to include references to functions, each function for producing one or more of the image attributes, and wherein the modified graphical state when processed by a rasterizer produces the graphical state.