Package gaiasky.util.gdx
Interface IntRenderableSorter
-
- All Known Implementing Classes:
DefaultIntRenderableSorter
public interface IntRenderableSorter
Responsible for sortingIntRenderable
lists by whatever criteria (material, distance to camera, etc.)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
sort(com.badlogic.gdx.graphics.Camera camera, com.badlogic.gdx.utils.Array<IntRenderable> renderables)
Sorts the array ofIntRenderable
instances based on some criteria, e.g.
-
-
-
Method Detail
-
sort
void sort(com.badlogic.gdx.graphics.Camera camera, com.badlogic.gdx.utils.Array<IntRenderable> renderables)
Sorts the array ofIntRenderable
instances based on some criteria, e.g. material, distance to camera etc.- Parameters:
renderables
- the array of renderables to be sorted
-
-