public class MrUniform
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MODEL_MATRIX |
static java.lang.String |
MODEL_VIEW_MATRIX |
static java.lang.String |
MODEL_VIEW_PROJECTION_MATRIX |
static java.lang.String |
NORMAL_MATRIX |
static java.lang.String |
PROJECTION_MATRIX |
static java.lang.String |
UNIFORM_BONE_MATRIX |
static java.lang.String |
UNIFORM_MATERIAL_AMBIENT_COLOR |
static java.lang.String |
UNIFORM_MATERIAL_AMBIENT_INTENSITY |
static java.lang.String |
UNIFORM_MATERIAL_DIFFUSE_COLOR |
static java.lang.String |
UNIFORM_MATERIAL_DIFFUSE_INTENSITY |
static java.lang.String |
UNIFORM_MATERIAL_SPECULAR_COLOR |
static java.lang.String |
UNIFORM_MATERIAL_SPECULAR_INTENSITY |
static java.lang.String |
UNIFORM_TEXTURE |
static java.lang.String |
VIEW_MATRIX |
Constructor and Description |
---|
MrUniform(java.lang.String uniformType,
java.lang.String name,
MrDataType dataType,
int count) |
Modifier and Type | Method and Description |
---|---|
int |
getCount() |
MrDataType |
getDataType() |
int |
getId() |
java.lang.String |
getName() |
java.lang.String |
getUniformType() |
void |
setId(int id) |
java.lang.String |
toString() |
public static final java.lang.String MODEL_MATRIX
public static final java.lang.String VIEW_MATRIX
public static final java.lang.String PROJECTION_MATRIX
public static final java.lang.String MODEL_VIEW_MATRIX
public static final java.lang.String NORMAL_MATRIX
public static final java.lang.String MODEL_VIEW_PROJECTION_MATRIX
public static final java.lang.String UNIFORM_MATERIAL_AMBIENT_COLOR
public static final java.lang.String UNIFORM_MATERIAL_AMBIENT_INTENSITY
public static final java.lang.String UNIFORM_MATERIAL_DIFFUSE_COLOR
public static final java.lang.String UNIFORM_MATERIAL_DIFFUSE_INTENSITY
public static final java.lang.String UNIFORM_MATERIAL_SPECULAR_COLOR
public static final java.lang.String UNIFORM_MATERIAL_SPECULAR_INTENSITY
public static final java.lang.String UNIFORM_BONE_MATRIX
public static final java.lang.String UNIFORM_TEXTURE
public MrUniform(java.lang.String uniformType, java.lang.String name, MrDataType dataType, int count)
public java.lang.String getName()
public java.lang.String getUniformType()
public MrDataType getDataType()
public int getCount()
public int getId()
public void setId(int id)
public java.lang.String toString()
toString
in class java.lang.Object