public boolean isClearDepth() {
        return clearDepth;
    }
Checks if depth buffer clearing is enabled.

@return true if depth buffer clearing is enabled.

@see #setClearDepth(boolean)
jme3-core/src/main/java/com/jme3/renderer/ViewPort.java