public class FrameBuffer
extends java.lang.Object
Constructor and Description |
---|
FrameBuffer(GLState glState,
float width,
float height,
boolean checkPo2) |
FrameBuffer(GLState glState,
float width,
float height,
boolean checkPo2,
boolean depthEnabled) |
Modifier and Type | Method and Description |
---|---|
boolean |
attachTexture(Texture texture) |
boolean |
bind(int projection)
Bind this frame buffer
|
void |
clear() |
float |
getHeight() |
static java.lang.String |
getStatusString(int status) |
Texture |
getTexture() |
float |
getWidth() |
boolean |
hasSize(PointF size) |
boolean |
isBinded() |
static boolean |
isSupported(GL10 gl) |
boolean |
unbind()
Unbind this frame buffer and switch back to the original buffer
|
void |
unload()
Unbind and delete the frame and depth buffers
|
boolean |
verifyGLState(GLState glState) |
public FrameBuffer(GLState glState, float width, float height, boolean checkPo2)
public FrameBuffer(GLState glState, float width, float height, boolean checkPo2, boolean depthEnabled)
public boolean attachTexture(Texture texture)
public boolean verifyGLState(GLState glState)
public boolean bind(int projection)
public boolean unbind()
public boolean isBinded()
public void clear()
public void unload()
public Texture getTexture()
public float getWidth()
public float getHeight()
public boolean hasSize(PointF size)
public static boolean isSupported(GL10 gl)
public static java.lang.String getStatusString(int status)