Package zombie.core.textures
Class MultiTextureFBO2
java.lang.Object
zombie.core.textures.MultiTextureFBO2
public class MultiTextureFBO2
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description boolean[]
bAutoZoom
boolean
bZoomEnabled
TextureFBO
Current
TextureFBO
FBOrendered
float[]
startZoom
float[]
targetZoom
float[]
zoom
-
Constructor Summary
Constructors Constructor Description MultiTextureFBO2()
-
Method Summary
Modifier and Type Method Description void
create(int int1, int int2)
void
destroy()
void
doZoomScroll(int int1, int int2)
TextureFBO
getCurrent(int int1)
java.util.ArrayList
getDefaultZoomLevels()
int
getHeight(int int1)
float
getMaxZoom()
float
getMinZoom()
float
getNextZoom(int int1, int int2)
Texture
getTexture(int int1)
int
getWidth(int int1)
void
render()
void
setTargetZoom(int int1, float float1)
void
setTargetZoomNoRestart(float float1)
void
setZoomLevelsFromOption(java.lang.String string)
boolean
test()
void
update()
void
updateMipMaps()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
Current
-
FBOrendered
-
zoom
public float[] zoom -
targetZoom
public float[] targetZoom -
startZoom
public float[] startZoom -
bAutoZoom
public boolean[] bAutoZoom -
bZoomEnabled
public boolean bZoomEnabled
-
-
Constructor Details
-
MultiTextureFBO2
public MultiTextureFBO2()
-
-
Method Details
-
getWidth
public int getWidth(int int1) -
getHeight
public int getHeight(int int1) -
setTargetZoom
public void setTargetZoom(int int1, float float1) -
setTargetZoomNoRestart
public void setTargetZoomNoRestart(float float1) -
getDefaultZoomLevels
public java.util.ArrayList getDefaultZoomLevels() -
setZoomLevelsFromOption
public void setZoomLevelsFromOption(java.lang.String string) -
destroy
public void destroy() -
create
public void create(int int1, int int2) throws java.lang.Exception- Throws:
java.lang.Exception
-
update
public void update() -
render
public void render() -
getCurrent
-
getTexture
-
updateMipMaps
public void updateMipMaps() -
doZoomScroll
public void doZoomScroll(int int1, int int2) -
getNextZoom
public float getNextZoom(int int1, int int2) -
getMinZoom
public float getMinZoom() -
getMaxZoom
public float getMaxZoom() -
test
public boolean test()
-