Class DepthStencilSettings

java.lang.Object
icyllis.arc3d.engine.DepthStencilSettings

@Immutable public final class DepthStencilSettings extends Object
This class defines concrete depth and stencil settings that map directly to the underlying 3D API.
  • Field Details Link icon

    • COMPARE_OP_NEVER Link icon

      public static final byte COMPARE_OP_NEVER
      CompareOp for depth test and stencil test.
      See Also:
    • COMPARE_OP_LESS Link icon

      public static final byte COMPARE_OP_LESS
      CompareOp for depth test and stencil test.
      See Also:
    • COMPARE_OP_EQUAL Link icon

      public static final byte COMPARE_OP_EQUAL
      CompareOp for depth test and stencil test.
      See Also:
    • COMPARE_OP_LEQUAL Link icon

      public static final byte COMPARE_OP_LEQUAL
      CompareOp for depth test and stencil test.
      See Also:
    • COMPARE_OP_GREATER Link icon

      public static final byte COMPARE_OP_GREATER
      CompareOp for depth test and stencil test.
      See Also:
    • COMPARE_OP_NOTEQUAL Link icon

      public static final byte COMPARE_OP_NOTEQUAL
      CompareOp for depth test and stencil test.
      See Also:
    • COMPARE_OP_GEQUAL Link icon

      public static final byte COMPARE_OP_GEQUAL
      CompareOp for depth test and stencil test.
      See Also:
    • COMPARE_OP_ALWAYS Link icon

      public static final byte COMPARE_OP_ALWAYS
      CompareOp for depth test and stencil test.
      See Also:
    • STENCIL_OP_KEEP Link icon

      public static final byte STENCIL_OP_KEEP
      StencilOp.
      See Also:
    • STENCIL_OP_ZERO Link icon

      public static final byte STENCIL_OP_ZERO
      StencilOp.
      See Also:
    • STENCIL_OP_REPLACE Link icon

      public static final byte STENCIL_OP_REPLACE
      StencilOp.
      See Also:
    • STENCIL_OP_INC_CLAMP Link icon

      public static final byte STENCIL_OP_INC_CLAMP
      StencilOp.
      See Also:
    • STENCIL_OP_DEC_CLAMP Link icon

      public static final byte STENCIL_OP_DEC_CLAMP
      StencilOp.
      See Also:
    • STENCIL_OP_INVERT Link icon

      public static final byte STENCIL_OP_INVERT
      StencilOp.
      See Also:
    • STENCIL_OP_INC_WRAP Link icon

      public static final byte STENCIL_OP_INC_WRAP
      StencilOp.
      See Also:
    • STENCIL_OP_DEC_WRAP Link icon

      public static final byte STENCIL_OP_DEC_WRAP
      StencilOp.
      See Also:
    • mFrontFace Link icon

      public final DepthStencilSettings.Face mFrontFace
    • mBackFace Link icon

      public final DepthStencilSettings.Face mBackFace
    • mDepthCompareOp Link icon

      public final byte mDepthCompareOp
    • mDepthWrite Link icon

      public final boolean mDepthWrite
    • mStencilTest Link icon

      public final boolean mStencilTest
    • mDepthTest Link icon

      public final boolean mDepthTest
  • Constructor Details Link icon

    • DepthStencilSettings Link icon

      public DepthStencilSettings(DepthStencilSettings.Face frontFace, DepthStencilSettings.Face backFace, byte depthCompareOp, boolean depthWrite, boolean stencilTest, boolean depthTest)
      If stencil test is disabled, then two faces must be null. If depth test is disabled, then depth compare op must be Never.
  • Method Details Link icon

    • isTwoSided Link icon

      public boolean isTwoSided()
    • hashCode Link icon

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals Link icon

      public boolean equals(Object o)
      Overrides:
      equals in class Object