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)
methodConstructor 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 RenderOperation
public void interpolate(GameContainer gc, float alpha)
interpolate
in interface RenderOperation
public void apply(GameContainer gc, Graphics g)
apply
in interface RenderOperation
public void unapply(GameContainer gc, Graphics g)
unapply
in interface RenderOperation