/** * Sets the stencil reference to be used during the stencil function for back faces. * * @param reference * The new stencil reference for back faces. */ public void setStencilReferenceBack(final int reference) { _stencilReferenceBack = reference; setNeedsRefresh(true); }
/** * Controls which stencil bitplanes are written for back faces. * * @param mask * The new stencil write mask for back faces. */ public void setStencilWriteMaskBack(final int mask) { _stencilWriteMaskBack = mask; setNeedsRefresh(true); }
/** * Sets the stencil reference to be used during the stencil function for front faces. * * @param reference * The new stencil reference for front faces. */ public void setStencilReferenceFront(final int reference) { _stencilReferenceFront = reference; setNeedsRefresh(true); }
/** * Sets the stencil mask to be used during stencil functions for back faces. * * @param mask * The new stencil function mask for back faces. */ public void setStencilFuncMaskBack(final int mask) { _stencilFuncMaskBack = mask; setNeedsRefresh(true); }
/** * Controls which stencil bitplanes are written for front faces. * * @param mask * The new stencil write mask for front faces. */ public void setStencilWriteMaskFront(final int mask) { _stencilWriteMaskFront = mask; setNeedsRefresh(true); }
/** * Controls which stencil bitplanes are written for back faces. * * @param mask * The new stencil write mask for back faces. */ public void setStencilWriteMaskBack(final int mask) { _stencilWriteMaskBack = mask; setNeedsRefresh(true); }
/** * Sets the stencil mask to be used during stencil functions for front faces. * * @param mask * The new stencil function mask for front faces. */ public void setStencilFuncMaskFront(final int mask) { _stencilFuncMaskFront = mask; setNeedsRefresh(true); }
/** * Sets the stencil mask to be used during stencil functions for back faces. * * @param mask * The new stencil function mask for back faces. */ public void setStencilFuncMaskBack(final int mask) { _stencilFuncMaskBack = mask; setNeedsRefresh(true); }
/** * Sets the stencil reference to be used during the stencil function for front faces. * * @param reference * The new stencil reference for front faces. */ public void setStencilReferenceFront(final int reference) { _stencilReferenceFront = reference; setNeedsRefresh(true); }
/** * Controls which stencil bitplanes are written for front faces. * * @param mask * The new stencil write mask for front faces. */ public void setStencilWriteMaskFront(final int mask) { _stencilWriteMaskFront = mask; setNeedsRefresh(true); }
/** * Sets the stencil mask to be used during stencil functions for front faces. * * @param mask * The new stencil function mask for front faces. */ public void setStencilFuncMaskFront(final int mask) { _stencilFuncMaskFront = mask; setNeedsRefresh(true); }
/** * Sets the stencil reference to be used during the stencil function for back faces. * * @param reference * The new stencil reference for back faces. */ public void setStencilReferenceBack(final int reference) { _stencilReferenceBack = reference; setNeedsRefresh(true); }
/** * Sets the function that defines if a stencil test passes or not for front faces. * * @param function * The new stencil function for front faces. * @throws IllegalArgumentException * if function is null */ public void setStencilFunctionFront(final StencilFunction function) { if (function == null) { throw new IllegalArgumentException("function can not be null."); } _stencilFunctionFront = function; setNeedsRefresh(true); }
/** * Sets the function that defines if a stencil test passes or not for back faces. * * @param function * The new stencil function for back faces. * @throws IllegalArgumentException * if function is null */ public void setStencilFunctionBack(final StencilFunction function) { if (function == null) { throw new IllegalArgumentException("function can not be null."); } _stencilFunctionBack = function; setNeedsRefresh(true); }
/** * Specifies the aciton to take when the stencil test fails for back faces. * * @param operation * The new stencil operation for back faces. * @throws IllegalArgumentException * if operation is null */ public void setStencilOpFailBack(final StencilOperation operation) { if (operation == null) { throw new IllegalArgumentException("operation can not be null."); } _stencilOpFailBack = operation; setNeedsRefresh(true); }
/** * Specifies the aciton to take when the stencil test fails for front faces. * * @param operation * The new stencil operation for front faces. * @throws IllegalArgumentException * if operation is null */ public void setStencilOpFailFront(final StencilOperation operation) { if (operation == null) { throw new IllegalArgumentException("operation can not be null."); } _stencilOpFailFront = operation; setNeedsRefresh(true); }
/** * Specifies the aciton to take when the stencil test fails for back faces. * * @param operation * The new stencil operation for back faces. * @throws IllegalArgumentException * if operation is null */ public void setStencilOpFailBack(final StencilOperation operation) { if (operation == null) { throw new IllegalArgumentException("operation can not be null."); } _stencilOpFailBack = operation; setNeedsRefresh(true); }
/** * Specifies stencil action when the stencil test passes, but the depth test fails for front faces. * * @param operation * The Z test operation to set for front faces. * @throws IllegalArgumentException * if operation is null */ public void setStencilOpZFailFront(final StencilOperation operation) { if (operation == null) { throw new IllegalArgumentException("operation can not be null."); } _stencilOpZFailFront = operation; setNeedsRefresh(true); }
/** * Specifies stencil action when the stencil test passes, but the depth test fails for front faces. * * @param operation * The Z test operation to set for front faces. * @throws IllegalArgumentException * if operation is null */ public void setStencilOpZFailFront(final StencilOperation operation) { if (operation == null) { throw new IllegalArgumentException("operation can not be null."); } _stencilOpZFailFront = operation; setNeedsRefresh(true); }
/** * Specifies stencil action when the stencil test passes, but the depth test fails. * * @param operation * The Z test operation to set for back faces. * @throws IllegalArgumentException * if operation is null */ public void setStencilOpZFailBack(final StencilOperation operation) { if (operation == null) { throw new IllegalArgumentException("operation can not be null."); } _stencilOpZFailBack = operation; setNeedsRefresh(true); }