public class RenderFrameBufferOperation extends java.lang.Object implements RenderOperation
FrameBuffer at 0,0 during the apply(org.mini2Dx.core.game.GameContainer, org.mini2Dx.core.Graphics) phase.
If you want to change the rendering coordinate, extend this class and override
the updateRenderPosition(Vector2, GameContainer, float) method| Constructor and Description |
|---|
RenderFrameBufferOperation(Ref<FrameBuffer> frameBufferRef) |
| 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) |
void |
updateRenderPosition(org.mini2Dx.gdx.math.Vector2 position,
GameContainer gc,
float delta) |
public RenderFrameBufferOperation(Ref<FrameBuffer> frameBufferRef)
public void updateRenderPosition(org.mini2Dx.gdx.math.Vector2 position,
GameContainer gc,
float delta)
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