ShapeRenderer

fun ShapeRenderer(batch: Batch, slice: TextureSlice = Textures.white)

Parameters

batch

the batch used to batch draw calls with

slice

a 1x1 slice of a texture. Generally a single white pixel.