Matrix uniforms passed to Graphics in a more generic way.