Package zombie.core.textures
Class MultiTextureFBO2
java.lang.Object
zombie.core.textures.MultiTextureFBO2
-
Field Summary
Modifier and TypeFieldDescriptionfinal boolean[]
boolean
final float[]
final float[]
final float[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
create
(int xres, int yres) void
destroy()
void
doZoomScroll
(int playerIndex, int del) getCurrent
(int nPlayer) int
getHeight
(int playerIndex) float
float
float
getNextZoom
(int playerIndex, int del) getTexture
(int nPlayer) int
getWidth
(int playerIndex) void
render()
void
setTargetZoom
(int playerIndex, float target) void
setZoomLevelsFromOption
(String levels) boolean
test()
void
update()
-
Field Details
-
Current
-
FBOrendered
-
zoom
public final float[] zoom -
targetZoom
public final float[] targetZoom -
startZoom
public final float[] startZoom -
bAutoZoom
public final boolean[] bAutoZoom -
bZoomEnabled
public boolean bZoomEnabled
-
-
Constructor Details
-
MultiTextureFBO2
public MultiTextureFBO2()
-
-
Method Details
-
getWidth
public int getWidth(int playerIndex) -
getHeight
public int getHeight(int playerIndex) -
setTargetZoom
public void setTargetZoom(int playerIndex, float target) -
getDefaultZoomLevels
-
setZoomLevelsFromOption
-
destroy
public void destroy() -
create
- Throws:
Exception
-
update
public void update() -
render
public void render() -
getCurrent
-
getTexture
-
doZoomScroll
public void doZoomScroll(int playerIndex, int del) -
getNextZoom
public float getNextZoom(int playerIndex, int del) -
getMinZoom
public float getMinZoom() -
getMaxZoom
public float getMaxZoom() -
test
public boolean test()
-