|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rugl.gl.facets.TextureState
public class TextureState
Controls the bound texture and parameters
| Nested Class Summary | |
|---|---|
class |
TextureState.Filters
|
class |
TextureState.WrapParameters
|
| Field Summary | |
|---|---|
TextureState.Filters |
filter
Texture filter modes |
int |
id
The openGL texture name. |
TextureState.WrapParameters |
wrap
Texture wrapping parameters |
| Constructor Summary | |
|---|---|
TextureState()
|
|
| Method Summary | |
|---|---|
int |
compareTo(TextureState t)
|
void |
set(TextureState t)
Copy the values |
java.lang.String |
toString()
|
void |
transitionFrom(TextureState t)
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 int id
public TextureState.Filters filter
public TextureState.WrapParameters wrap
| Constructor Detail |
|---|
public TextureState()
| Method Detail |
|---|
public void set(TextureState t)
Facet
set in interface Facet<TextureState>public void transitionFrom(TextureState t)
Facet
transitionFrom in interface Facet<TextureState>t - The current state.public int compareTo(TextureState t)
compareTo in interface java.lang.Comparable<TextureState>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 | |||||||||