Package zombie.core.textures
Class TextureFBO
java.lang.Object
zombie.core.textures.TextureFBO
-
Constructor Summary
ConstructorDescriptionTextureFBO
(ITexture destination) TextureFBO
(ITexture destination, boolean bUseStencil) -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
void
destroy()
void
void
int
static int
static IGLFramebufferObject
getFuncs()
int
int
getWidth()
boolean
void
static void
reset()
void
setTexture
(Texture tex3) void
void
startDrawing
(boolean clear, boolean clearToAlphaZero) void
swapTexture
(ITexture newTex)
-
Constructor Details
-
TextureFBO
-
TextureFBO
-
-
Method Details
-
swapTexture
-
getFuncs
-
checkFBOSupport
public static boolean checkFBOSupport() -
destroy
public void destroy() -
destroyLeaveTexture
public void destroyLeaveTexture() -
releaseTexture
public void releaseTexture() -
endDrawing
public void endDrawing() -
getTexture
-
getBufferId
public int getBufferId() -
isDestroyed
public boolean isDestroyed() -
startDrawing
public void startDrawing() -
startDrawing
public void startDrawing(boolean clear, boolean clearToAlphaZero) -
setTexture
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getCurrentID
public static int getCurrentID() -
reset
public static void reset()
-