public class BeginFrameBufferOperation extends java.lang.Object implements RenderOperation
FrameBuffer
and (optionally) clears the buffer
during the apply(org.mini2Dx.core.game.GameContainer, org.mini2Dx.core.graphics.Graphics)
phaseConstructor and Description |
---|
BeginFrameBufferOperation(Ref<com.badlogic.gdx.graphics.glutils.FrameBuffer> frameBufferRef) |
BeginFrameBufferOperation(Ref<com.badlogic.gdx.graphics.glutils.FrameBuffer> frameBufferRef,
boolean clearBuffer) |
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) |
public BeginFrameBufferOperation(Ref<com.badlogic.gdx.graphics.glutils.FrameBuffer> frameBufferRef)
public BeginFrameBufferOperation(Ref<com.badlogic.gdx.graphics.glutils.FrameBuffer> frameBufferRef, boolean clearBuffer)
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