Untested support fo meshes defining and setting uniforms.