public class FBORenderer
Renders sprites to a FrameBufferObject and thence to the screen Does not support bilinear filtering when smooth motion is enabled
Constructor and Description |
---|
FBORenderer(float WIDTH,
float HEIGHT,
boolean fadeInEffect)
Renders sprites to a FrameBufferObject and thence to the screen
Does not support bilinear filtering when smooth motion is enabled
|
Modifier and Type | Method and Description |
---|---|
com.badlogic.gdx.graphics.g2d.SpriteBatch |
beginFBO() |
com.badlogic.gdx.math.Vector3 |
convertGameCoordsToScreenCoords(float x,
float y) |
com.badlogic.gdx.math.Vector3 |
convertScreenToGameCoords(int x,
int y) |
void |
darkenScreen(com.badlogic.gdx.graphics.Color c) |
void |
dispose() |
boolean |
getFadeInEffect() |
float |
getHEIGHT() |
float |
getWIDTH() |
void |
renderFBOtoScreen() |
void |
resize(int width,
int height) |
public FBORenderer(float WIDTH, float HEIGHT, boolean fadeInEffect)
Renders sprites to a FrameBufferObject and thence to the screen Does not support bilinear filtering when smooth motion is enabled
public void dispose()
public void renderFBOtoScreen()
public com.badlogic.gdx.graphics.g2d.SpriteBatch beginFBO()
public void resize(int width, int height)
public void darkenScreen(com.badlogic.gdx.graphics.Color c)
public com.badlogic.gdx.math.Vector3 convertGameCoordsToScreenCoords(float x, float y)
public com.badlogic.gdx.math.Vector3 convertScreenToGameCoords(int x, int y)
public float getWIDTH()
public float getHEIGHT()
public boolean getFadeInEffect()