|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rugl.gl.facets.AlphaTest
public class AlphaTest
Controls the alpha test
| Field Summary | |
|---|---|
boolean |
enabled
If the alpha test is enabled or not |
ComparisonFunction |
func
The alpha function |
float |
ref
The reference value |
| Constructor Summary | |
|---|---|
AlphaTest()
|
|
| Method Summary | |
|---|---|
int |
compareTo(AlphaTest a)
|
void |
set(AlphaTest a)
Copy the values |
java.lang.String |
toString()
|
void |
transitionFrom(AlphaTest a)
Alter the state if necessary |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public boolean enabled
public ComparisonFunction func
public float ref
| Constructor Detail |
|---|
public AlphaTest()
| Method Detail |
|---|
public void set(AlphaTest a)
Facet
set in interface Facet<AlphaTest>public void transitionFrom(AlphaTest a)
Facet
transitionFrom in interface Facet<AlphaTest>a - The current state.public int compareTo(AlphaTest a)
compareTo in interface java.lang.Comparable<AlphaTest>public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||