Added type-safe setUniform methods to Renderer.