|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.badlogic.gdx.graphics.glutils.FrameBuffer
com.badlogic.gdx.graphics.glutils.FloatFrameBuffer
public class FloatFrameBuffer
This is a FrameBuffer
variant backed by a float texture.
Field Summary |
---|
Fields inherited from class com.badlogic.gdx.graphics.glutils.FrameBuffer |
---|
colorTexture, format, hasDepth, height, width |
Constructor Summary | |
---|---|
FloatFrameBuffer(int width,
int height,
boolean hasDepth)
Creates a new FrameBuffer with a float backing texture, having the given dimensions and potentially a depth buffer attached. |
Method Summary | |
---|---|
protected void |
setupTexture()
Override this method in a derived class to set up the backing texture as you like. |
Methods inherited from class com.badlogic.gdx.graphics.glutils.FrameBuffer |
---|
begin, clearAllFrameBuffers, dispose, end, getColorBufferTexture, getHeight, getManagedStatus, getWidth, invalidateAllFrameBuffers |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FloatFrameBuffer(int width, int height, boolean hasDepth)
width
- the width of the framebuffer in pixelsheight
- the height of the framebuffer in pixelshasDepth
- whether to attach a depth buffer
GdxRuntimeException
- in case the FrameBuffer could not be createdMethod Detail |
---|
protected void setupTexture()
setupTexture
in class FrameBuffer
|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |