|
||||||||||
| 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.Vector4fUniform
public static class Program.Vector4fUniform
A uniform containing a four-element vector.
| Field Summary | |
|---|---|
Vector4f |
value
The vector value. |
| Fields inherited from class com.threerings.opengl.renderer.Program.Uniform |
|---|
dirty |
| Constructor Summary | |
|---|---|
Program.Vector4fUniform(int location)
Creates a new vector uniform with the specified location. |
|
Program.Vector4fUniform(int location,
Vector4f value)
Creates a new vector 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 Vector4f value
| Constructor Detail |
|---|
public Program.Vector4fUniform(int location)
public Program.Vector4fUniform(int location,
Vector4f 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 | |||||||||