Added property to Renderer to specify the depth function