Use GEComparison for getDepthTestFunction()