StencilState
Inheritance: java.lang.Object
public class StencilState
Stencil states per face.
Methods
Method | Description |
---|---|
equals(Object obj) | Returns a value indicating whether this instance is equal to a specified object. |
getClass() | |
getCompare() | Gets the compare function used in stencil test |
getDepthFailAction() | Gets the stencil action when stencil test pass but depth test fails. |
getFailAction() | Gets the stencil action when stencil test fails. |
getPassAction() | Gets the stencil action when both stencil test and depth test passes. |
hashCode() | Returns the hash code for this instance. |
notify() | |
notifyAll() | |
setCompare(CompareFunction value) | Sets the compare function used in stencil test |
setDepthFailAction(StencilAction value) | Sets the stencil action when stencil test pass but depth test fails. |
setFailAction(StencilAction value) | Sets the stencil action when stencil test fails. |
setPassAction(StencilAction value) | Sets the stencil action when both stencil test and depth test passes. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
equals(Object obj)
public boolean equals(Object obj)
Returns a value indicating whether this instance is equal to a specified object.
Parameters:
Parameter | Type | Description |
---|---|---|
obj | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getCompare()
public CompareFunction getCompare()
Gets the compare function used in stencil test
Returns: CompareFunction
getDepthFailAction()
public StencilAction getDepthFailAction()
Gets the stencil action when stencil test pass but depth test fails.
Returns: StencilAction
getFailAction()
public StencilAction getFailAction()
Gets the stencil action when stencil test fails.
Returns: StencilAction
getPassAction()
public StencilAction getPassAction()
Gets the stencil action when both stencil test and depth test passes.
Returns: StencilAction
hashCode()
public int hashCode()
Returns the hash code for this instance.
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setCompare(CompareFunction value)
public void setCompare(CompareFunction value)
Sets the compare function used in stencil test
Parameters:
Parameter | Type | Description |
---|---|---|
value | CompareFunction | New value |
setDepthFailAction(StencilAction value)
public void setDepthFailAction(StencilAction value)
Sets the stencil action when stencil test pass but depth test fails.
Parameters:
Parameter | Type | Description |
---|---|---|
value | StencilAction | New value |
setFailAction(StencilAction value)
public void setFailAction(StencilAction value)
Sets the stencil action when stencil test fails.
Parameters:
Parameter | Type | Description |
---|---|---|
value | StencilAction | New value |
setPassAction(StencilAction value)
public void setPassAction(StencilAction value)
Sets the stencil action when both stencil test and depth test passes.
Parameters:
Parameter | Type | Description |
---|---|---|
value | StencilAction | New value |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |