public class FrameBufferMap
extends java.lang.Object
implements com.badlogic.gdx.utils.Disposable
| Constructor and Description |
|---|
FrameBufferMap() |
| Modifier and Type | Method and Description |
|---|---|
com.badlogic.gdx.graphics.glutils.FrameBuffer |
add(java.lang.String name,
int width,
int height)
Adds a framebuffer to the map with the specified width and height.
|
void |
begin(java.lang.String name)
Equivalent to get(name).begin();
|
void |
dispose() |
void |
end(java.lang.String name)
Equivalent to get(name).end();
|
com.badlogic.gdx.graphics.glutils.FrameBuffer |
get(java.lang.String name)
Returns a framebuffer from the internal map.
|
com.badlogic.gdx.graphics.Texture |
texture(java.lang.String name)
Equivalent to get(name).getColorBufferTexture();
|
public com.badlogic.gdx.graphics.glutils.FrameBuffer get(java.lang.String name)
name - The name of the framebuffer.public com.badlogic.gdx.graphics.glutils.FrameBuffer add(java.lang.String name,
int width,
int height)
public void begin(java.lang.String name)
public void end(java.lang.String name)
public com.badlogic.gdx.graphics.Texture texture(java.lang.String name)
public void dispose()
dispose in interface com.badlogic.gdx.utils.Disposable