Interface RenderableSorter
-
- All Known Implementing Classes:
DefaultRenderableSorter
,ModelCache.Sorter
public interface RenderableSorter
Responsible for sortingRenderable
lists by whatever criteria (material, distance to camera, etc.)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
sort(Camera camera, Array<Renderable> renderables)
Sorts the array ofRenderable
instances based on some criteria, e.g.
-
-
-
Method Detail
-
sort
void sort(Camera camera, Array<Renderable> renderables)
Sorts the array ofRenderable
instances based on some criteria, e.g. material, distance to camera etc.- Parameters:
renderables
- the array of renderables to be sorted
-
-