Class TextureFBO
java.lang.Object
zombie.core.textures.TextureFBO
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTextureFBO(ITexture destination) TextureFBO(ITexture destination, boolean bUseStencil) TextureFBO(ITexture iTexture0, ITexture iTexture1, boolean boolean0) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidblitDepth(float float3, float float2, float float1, float float0) static booleanvoiddestroy()voidvoidintstatic intstatic IGLFramebufferObjectgetFuncs()intintgetWidth()booleanvoidstatic voidreset()voidsetTexture(Texture tex3) voidsetTextureAndDepth(Texture texture0, Texture texture1) voidvoidstartDrawing(boolean clear, boolean clearToAlphaZero) voidswapTexture(ITexture newTex) voidswapTextureAndDepth(ITexture iTexture0, ITexture iTexture1)
-
Field Details
-
lastID
public static int lastID
-
-
Constructor Details
-
TextureFBO
-
TextureFBO
-
TextureFBO
-
-
Method Details
-
swapTexture
-
swapTextureAndDepth
-
attach
-
getFuncs
-
blitDepth
public void blitDepth(float float3, float float2, float float1, float float0) -
checkFBOSupport
public static boolean checkFBOSupport() -
destroy
public void destroy() -
destroyLeaveTexture
public void destroyLeaveTexture() -
releaseTexture
public void releaseTexture() -
endDrawing
public void endDrawing() -
getTexture
-
getDepthTexture
-
getBufferId
public int getBufferId() -
isDestroyed
public boolean isDestroyed() -
startDrawing
public void startDrawing() -
startDrawing
public void startDrawing(boolean clear, boolean clearToAlphaZero) -
setTexture
-
setTextureAndDepth
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getCurrentID
public static int getCurrentID() -
reset
public static void reset()
-