Class ZBufferState

java.lang.Object
com.ardor3d.renderer.state.RenderState
com.ardor3d.renderer.state.ZBufferState
All Implemented Interfaces:
Savable

public class ZBufferState extends RenderState
ZBufferState maintains how the use of the depth buffer is to occur. Depth buffer comparisons are used to evaluate what incoming fragment will be used. This buffer is based on z depth, or distance between the pixel source and the eye.
  • Field Details

    • _function

      protected ZBufferState.TestFunction _function
      Depth function.
    • _writable

      protected boolean _writable
      Depth mask is writable or not.
  • Constructor Details

    • ZBufferState

      public ZBufferState()
      Constructor instantiates a new ZBufferState object. The initial values are TestFunction.LessThan and depth writing on.
  • Method Details