libGDX 2D Rendering
Reference for SpriteBatch, ShapeRenderer, Texture, TextureRegion, TextureAtlas, Camera/Viewport integration, draw ordering, blending, and screen clearing.
Texture
// Load from internal assets
Texture tex = new Texture(Gdx.files.internal("image.png"));
// With specific filtering and wrapping
Texture tex = new Texture(Gdx.files.internal("image.png"));
tex.setFilter(TextureFilter.Nearest, TextureFilter.Nearest); // pixel art
tex.setFilter(TextureFilter.Linear, T
[Description truncada. Veja o README completo no GitHub.]