public class RenderPipeline
extends java.lang.Object
RenderOperation
s to be applied and (optionally) unapplied.
By default this will go from 0 - length and apply the operations, then unapply the operations
in reverse order.
If you do not require the operations to be unapplied, setOneWay(boolean)
to true.Constructor and Description |
---|
RenderPipeline() |
Modifier and Type | Method and Description |
---|---|
void |
add(RenderOperation operation) |
void |
interpolate(GameContainer gc,
float alpha) |
boolean |
isOneWay() |
void |
remove(RenderOperation operation) |
void |
render(GameContainer gc,
Graphics g) |
void |
setOneWay(boolean oneWay) |
void |
update(GameContainer gc,
float delta) |
public void update(GameContainer gc, float delta)
public void interpolate(GameContainer gc, float alpha)
public void render(GameContainer gc, Graphics g)
public void add(RenderOperation operation)
public void remove(RenderOperation operation)
public boolean isOneWay()
public void setOneWay(boolean oneWay)