Added the ability to flush the 3D render cache to allow changes that are only known from outside the renderer.