|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.opengl.renderer.Program.Uniform
com.threerings.opengl.renderer.Program.IntegerUniform
public static class Program.IntegerUniform
A uniform containing an integer.
| Field Summary | |
|---|---|
int |
value
The integer value. |
| Fields inherited from class com.threerings.opengl.renderer.Program.Uniform |
|---|
dirty |
| Constructor Summary | |
|---|---|
Program.IntegerUniform(int location)
Creates a new integer uniform with the specified location. |
|
Program.IntegerUniform(int location,
int value)
Creates a new integer uniform with the specified location and value. |
|
| Method Summary | |
|---|---|
void |
apply()
Applies the value of this uniform. |
Program.Uniform |
clone(Program.Uniform uniform)
Clones this uniform, reusing the supplied object if possible. |
boolean |
equals(Object other)
|
| Methods inherited from class com.threerings.opengl.renderer.Program.Uniform |
|---|
getLocation |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int value
| Constructor Detail |
|---|
public Program.IntegerUniform(int location)
public Program.IntegerUniform(int location,
int value)
| Method Detail |
|---|
public void apply()
Program.Uniform
apply in class Program.Uniformpublic Program.Uniform clone(Program.Uniform uniform)
Program.Uniform
clone in class Program.Uniformpublic boolean equals(Object other)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||