public class StencilState
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Returns a value indicating whether this instance is equal to a specified object.
|
CompareFunction |
getCompare()
Gets the compare function used in stencil test
|
StencilAction |
getDepthFailAction()
Gets the stencil action when stencil test pass but depth test fails.
|
StencilAction |
getFailAction()
Gets the stencil action when stencil test fails.
|
StencilAction |
getPassAction()
Gets the stencil action when both stencil test and depth test passes.
|
int |
hashCode()
Returns the hash code for this instance.
|
void |
setCompare(CompareFunction value)
Sets the compare function used in stencil test
|
void |
setDepthFailAction(StencilAction value)
Sets the stencil action when stencil test pass but depth test fails.
|
void |
setFailAction(StencilAction value)
Sets the stencil action when stencil test fails.
|
void |
setPassAction(StencilAction value)
Sets the stencil action when both stencil test and depth test passes.
|
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- public CompareFunction getCompare()
public void setCompare(CompareFunction value)
value
- New valuepublic StencilAction getFailAction()
public void setFailAction(StencilAction value)
value
- New valuepublic StencilAction getDepthFailAction()
public void setDepthFailAction(StencilAction value)
value
- New valuepublic StencilAction getPassAction()
public void setPassAction(StencilAction value)
value
- New valuepublic int hashCode()
hashCode
in class java.lang.Object