|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.opengl.renderer.Program.Uniform
public abstract static class Program.Uniform
Contains the location and value of a uniform variable.
| Field Summary | |
|---|---|
boolean |
dirty
Set when the uniform value has changed and must be reapplied. |
| Constructor Summary | |
|---|---|
Program.Uniform(int location)
Creates a new uniform variable with the specified location. |
|
| Method Summary | |
|---|---|
abstract void |
apply()
Applies the value of this uniform. |
abstract Program.Uniform |
clone(Program.Uniform uniform)
Clones this uniform, reusing the supplied object if possible. |
int |
getLocation()
Returns the location of this uniform. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public boolean dirty
| Constructor Detail |
|---|
public Program.Uniform(int location)
| Method Detail |
|---|
public int getLocation()
public abstract void apply()
public abstract Program.Uniform clone(Program.Uniform uniform)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||