public TestFunction getDepthFunc() {
        return depthFunc;
    }
Retrieve the depth comparison function

@return the depth comparison function

@see RenderState#setDepthFunc(com.jme3.material.RenderState.TestFunction)
jme3-core/src/main/java/com/jme3/material/RenderState.java