Class TextureFBO
java.lang.Object
zombie.core.textures.TextureFBO
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTextureFBO
(ITexture destination) TextureFBO
(ITexture destination, boolean bUseStencil) TextureFBO
(ITexture texture0, ITexture texture1, boolean boolean0) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
blitDepth
(float float3, float float2, float float1, float float0) static boolean
void
destroy()
void
void
int
static int
static IGLFramebufferObject
getFuncs()
int
int
getWidth()
boolean
void
static void
reset()
void
setTexture
(Texture tex3) void
setTextureAndDepth
(Texture texture0, Texture texture1) void
void
startDrawing
(boolean clear, boolean clearToAlphaZero) void
swapTexture
(ITexture newTex) void
swapTextureAndDepth
(ITexture texture0, ITexture texture1)
-
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()
-