|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rugl.gl.facets.Blend
public class Blend
Controls the blending function
| Field Summary | |
|---|---|
DestinationFactor |
destFactor
The blending destination factor, see glBlendFunc |
boolean |
enabled
Whether blending is enabled |
SourceFactor |
srcFactor
The blending source factor, see glBlendFunc |
| Constructor Summary | |
|---|---|
Blend()
|
|
| Method Summary | |
|---|---|
int |
compareTo(Blend b)
|
void |
set(Blend b)
Copy the values |
java.lang.String |
toString()
|
void |
transitionFrom(Blend b)
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 SourceFactor srcFactor
public DestinationFactor destFactor
| Constructor Detail |
|---|
public Blend()
| Method Detail |
|---|
public void set(Blend b)
Facet
set in interface Facet<Blend>public void transitionFrom(Blend b)
Facet
transitionFrom in interface Facet<Blend>b - The current state.public int compareTo(Blend b)
compareTo in interface java.lang.Comparable<Blend>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 | |||||||||