public class ShaderVariable
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
LOC_NOT_DEFINED |
static int |
LOC_UNKNOWN |
protected int |
location |
protected java.lang.String |
name
Name of the uniform as was declared in the shader.
|
protected boolean |
updateNeeded
True if the shader value was changed.
|
Constructor and Description |
---|
ShaderVariable() |
Modifier and Type | Method and Description |
---|---|
int |
getLocation() |
java.lang.String |
getName() |
void |
setLocation(int location) |
void |
setName(java.lang.String name) |
public static final int LOC_UNKNOWN
public static final int LOC_NOT_DEFINED
protected int location
protected java.lang.String name
protected boolean updateNeeded