public class MrRenderingContext
extends java.lang.Object
Constructor and Description |
---|
MrRenderingContext(MrSceneTreeData objectsTree) |
Modifier and Type | Method and Description |
---|---|
MrMesh |
getBoundMesh() |
MrShaderProgram |
getBoundShaderProgram() |
MrTexture |
getBoundTexture() |
int |
getHeight() |
MrSceneTreeData |
getObjectsTree() |
java.util.Map<java.lang.String,MrUniformKey> |
getUniforms() |
int |
getWidth() |
void |
setMesh(MrMesh boundMesh) |
void |
setShaderProgram(MrShaderProgram boundShaderProgram) |
void |
setTexture(MrTexture boundTexture) |
void |
setWindowSize(int width,
int height) |
public MrRenderingContext(MrSceneTreeData objectsTree)
public MrSceneTreeData getObjectsTree()
public java.util.Map<java.lang.String,MrUniformKey> getUniforms()
public void setWindowSize(int width, int height)
public int getHeight()
public int getWidth()
public MrMesh getBoundMesh()
public void setMesh(MrMesh boundMesh)
public MrShaderProgram getBoundShaderProgram()
public void setShaderProgram(MrShaderProgram boundShaderProgram)
public MrTexture getBoundTexture()
public void setTexture(MrTexture boundTexture)