public abstract class View
extends java.lang.Object
Constructor and Description |
---|
View() |
Modifier and Type | Method and Description |
---|---|
boolean |
debugRendering() |
abstract com.badlogic.gdx.graphics.g2d.SpriteBatch |
getBatch() |
com.badlogic.gdx.graphics.glutils.ShaderProgram |
getShader()
Get the loaded shader program of the view.
|
abstract com.badlogic.gdx.graphics.glutils.ShapeRenderer |
getShapeRenderer() |
void |
init()
initializes the view.
|
void |
loadShaders()
reloads the shaders
|
public abstract com.badlogic.gdx.graphics.g2d.SpriteBatch getBatch()
public abstract com.badlogic.gdx.graphics.glutils.ShapeRenderer getShapeRenderer()
public void init()
public com.badlogic.gdx.graphics.glutils.ShaderProgram getShader()
public boolean debugRendering()
public void loadShaders()