public class ShaderProgramOperation extends java.lang.Object implements RenderOperation
ShaderProgram| Modifier and Type | Field and Description |
|---|---|
protected com.badlogic.gdx.graphics.glutils.ShaderProgram |
shaderProgram |
| Constructor and Description |
|---|
ShaderProgramOperation(com.badlogic.gdx.files.FileHandle vertexShader,
com.badlogic.gdx.files.FileHandle fragmentShader) |
ShaderProgramOperation(com.badlogic.gdx.graphics.glutils.ShaderProgram shaderProgram) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(GameContainer gc,
Graphics g) |
void |
interpolate(GameContainer gc,
float alpha) |
void |
unapply(GameContainer gc,
Graphics g) |
void |
update(GameContainer gc,
float delta) |
protected final com.badlogic.gdx.graphics.glutils.ShaderProgram shaderProgram
public ShaderProgramOperation(com.badlogic.gdx.files.FileHandle vertexShader,
com.badlogic.gdx.files.FileHandle fragmentShader)
public ShaderProgramOperation(com.badlogic.gdx.graphics.glutils.ShaderProgram shaderProgram)
public void update(GameContainer gc, float delta)
update in interface RenderOperationpublic void interpolate(GameContainer gc, float alpha)
interpolate in interface RenderOperationpublic void apply(GameContainer gc, Graphics g)
apply in interface RenderOperationpublic void unapply(GameContainer gc, Graphics g)
unapply in interface RenderOperation