Example usage for Java com.badlogic.gdx.graphics.glutils FrameBuffer fields, constructors, methods, implement or subclass
The text is from its open source code.
FrameBuffer(Pixmap.Format format, int width, int height, boolean hasDepth) Creates a new FrameBuffer having the given dimensions and potentially a depth buffer attached. |
void | begin() Binds the frame buffer and sets the viewport accordingly, so everything gets drawn to it. |
void | dispose() Releases all resources associated with the FrameBuffer. |
void | end() Unbinds the framebuffer, all drawing will be performed to the normal framebuffer from here on. |
Texture | getColorBufferTexture() |
int | getHeight() |
int | getWidth() |