|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.neovisionaries.android.opengl.StencilActionSet
public class StencilActionSet
Set of stencil actions.
StencilAction
,
glStencilOp,
glStencilOpSeparateConstructor Summary | |
---|---|
StencilActionSet()
This constructor is an alias of StencilAction (null, null, null). |
|
StencilActionSet(StencilActionSet actionSet)
A copy constructor. |
|
StencilActionSet(StencilAction stencilFailureAction,
StencilAction depthFailureAction,
StencilAction passAction)
A constructor which stencil actions. |
Method Summary | |
---|---|
StencilAction |
getDepthFailureAction()
Get the action taken when the stencil test passes but the depth test fails. |
StencilAction |
getPassAction()
Get the action taken when both the stencil test and the depth test pass. |
StencilAction |
getStencilFailureAction()
Get the action taken when the stencil test fails. |
StencilActionSet |
setDepthFailureAction(StencilAction action)
Set an action taken when the stencil test passes but the depth test fails. |
StencilActionSet |
setPassAction(StencilAction action)
Set an action taken when both the stencil test and the depth test pass. |
StencilActionSet |
setStencilFailureAction(StencilAction action)
Set an action taken when the stencil test fails. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StencilActionSet()
StencilAction
(null, null, null).
public StencilActionSet(StencilAction stencilFailureAction, StencilAction depthFailureAction, StencilAction passAction)
stencilFailureAction
- An action that is taken when the stencil test fails.
If null is given, StencilAction.KEEP
is set.depthFailureAction
- An action that is taken when the stencil test passes
but the depth test fails.
If null is given, StencilAction.KEEP
is set.passAction
- An action that is taken when both the stencil test
and the depth test pass.
If null is given, StencilAction.KEEP
is set.public StencilActionSet(StencilActionSet actionSet)
actionSet
- An action set to copy from. If null is given,
If null is given, all actions are set to
StencilAction.KEEP
.Method Detail |
---|
public StencilAction getStencilFailureAction()
public StencilActionSet setStencilFailureAction(StencilAction action)
action
- An action taken when the stencil test fails.
If null is given, StencilAction.KEEP
is set.
public StencilAction getDepthFailureAction()
public StencilActionSet setDepthFailureAction(StencilAction action)
action
- An action taken when the stencil test passes
but the depth test fails.
If null is given, StencilAction.KEEP
is set.
public StencilAction getPassAction()
public StencilActionSet setPassAction(StencilAction action)
action
- An action taken when both the stencil test
and the depth test pass.
If null is given, StencilAction.KEEP
is set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |