public abstract class MrObjectData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
mName |
protected MrSceneObjectType |
mSceneObjType |
protected MrShaderProgram |
mShaderProgram |
protected MrTransform |
mTransform |
protected java.util.Map<java.lang.String,MrUniformGenerator> |
mUniformGenerators |
protected java.util.Map<java.lang.String,MrUniformKey> |
mUniformKeys |
Constructor and Description |
---|
MrObjectData(java.lang.String name,
MrSceneObjectType sceneObjType) |
MrObjectData(java.lang.String name,
MrSceneObjectType sceneObjType,
MrTransform transform,
MrShaderProgram program,
java.util.Map<java.lang.String,MrUniformKey> uniformKeys) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
MrSceneObjectType |
getSceneObjectType() |
MrShaderProgram |
getShaderProgram() |
MrTransform |
getTransform() |
java.util.Map<java.lang.String,MrUniformGenerator> |
getUniformGenerators() |
java.util.Map<java.lang.String,MrUniformKey> |
getUniformKeys() |
void |
initializeUniforms() |
void |
setTransform(MrTransform transform) |
void |
setUniformGenerators(java.util.Map<java.lang.String,MrUniformGenerator> uniformGenerators) |
void |
setUniformKeys(java.util.Map<java.lang.String,MrUniformKey> uniformKeys) |
protected java.lang.String mName
protected MrSceneObjectType mSceneObjType
protected MrTransform mTransform
protected MrShaderProgram mShaderProgram
protected java.util.Map<java.lang.String,MrUniformGenerator> mUniformGenerators
protected java.util.Map<java.lang.String,MrUniformKey> mUniformKeys
public MrObjectData(java.lang.String name, MrSceneObjectType sceneObjType, MrTransform transform, MrShaderProgram program, java.util.Map<java.lang.String,MrUniformKey> uniformKeys)
public MrObjectData(java.lang.String name, MrSceneObjectType sceneObjType)
public void initializeUniforms()
public java.lang.String getName()
public MrSceneObjectType getSceneObjectType()
public MrTransform getTransform()
public void setTransform(MrTransform transform)
public MrShaderProgram getShaderProgram()
public java.util.Map<java.lang.String,MrUniformKey> getUniformKeys()
public void setUniformKeys(java.util.Map<java.lang.String,MrUniformKey> uniformKeys)
public java.util.Map<java.lang.String,MrUniformGenerator> getUniformGenerators()
public void setUniformGenerators(java.util.Map<java.lang.String,MrUniformGenerator> uniformGenerators)