Package icyllis.arc3d.engine
Class DepthStencilSettings
java.lang.Object
icyllis.arc3d.engine.DepthStencilSettings
This class defines concrete depth and stencil settings that map directly to the
underlying 3D API.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Per-face stencil settings. -
Field Summary
Modifier and TypeFieldDescriptionstatic final byte
CompareOp for depth test and stencil test.static final byte
CompareOp for depth test and stencil test.static final byte
CompareOp for depth test and stencil test.static final byte
CompareOp for depth test and stencil test.static final byte
CompareOp for depth test and stencil test.static final byte
CompareOp for depth test and stencil test.static final byte
CompareOp for depth test and stencil test.static final byte
CompareOp for depth test and stencil test.final byte
final boolean
final boolean
final boolean
static final byte
StencilOp.static final byte
StencilOp.static final byte
StencilOp.static final byte
StencilOp.static final byte
StencilOp.static final byte
StencilOp.static final byte
StencilOp.static final byte
StencilOp. -
Constructor Summary
ConstructorDescriptionDepthStencilSettings
(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. -
Method Summary
-
Field Details
-
COMPARE_OP_NEVER
public static final byte COMPARE_OP_NEVERCompareOp for depth test and stencil test.- See Also:
-
COMPARE_OP_LESS
public static final byte COMPARE_OP_LESSCompareOp for depth test and stencil test.- See Also:
-
COMPARE_OP_EQUAL
public static final byte COMPARE_OP_EQUALCompareOp for depth test and stencil test.- See Also:
-
COMPARE_OP_LEQUAL
public static final byte COMPARE_OP_LEQUALCompareOp for depth test and stencil test.- See Also:
-
COMPARE_OP_GREATER
public static final byte COMPARE_OP_GREATERCompareOp for depth test and stencil test.- See Also:
-
COMPARE_OP_NOTEQUAL
public static final byte COMPARE_OP_NOTEQUALCompareOp for depth test and stencil test.- See Also:
-
COMPARE_OP_GEQUAL
public static final byte COMPARE_OP_GEQUALCompareOp for depth test and stencil test.- See Also:
-
COMPARE_OP_ALWAYS
public static final byte COMPARE_OP_ALWAYSCompareOp for depth test and stencil test.- See Also:
-
STENCIL_OP_KEEP
public static final byte STENCIL_OP_KEEPStencilOp.- See Also:
-
STENCIL_OP_ZERO
public static final byte STENCIL_OP_ZEROStencilOp.- See Also:
-
STENCIL_OP_REPLACE
public static final byte STENCIL_OP_REPLACEStencilOp.- See Also:
-
STENCIL_OP_INC_CLAMP
public static final byte STENCIL_OP_INC_CLAMPStencilOp.- See Also:
-
STENCIL_OP_DEC_CLAMP
public static final byte STENCIL_OP_DEC_CLAMPStencilOp.- See Also:
-
STENCIL_OP_INVERT
public static final byte STENCIL_OP_INVERTStencilOp.- See Also:
-
STENCIL_OP_INC_WRAP
public static final byte STENCIL_OP_INC_WRAPStencilOp.- See Also:
-
STENCIL_OP_DEC_WRAP
public static final byte STENCIL_OP_DEC_WRAPStencilOp.- See Also:
-
mFrontFace
-
mBackFace
-
mDepthCompareOp
public final byte mDepthCompareOp -
mDepthWrite
public final boolean mDepthWrite -
mStencilTest
public final boolean mStencilTest -
mDepthTest
public final boolean mDepthTest
-
-
Constructor Details
-
DepthStencilSettings
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