public interface RenderableSorter
Renderable
lists by whatever criteria (material, distance to camera, etc.)Modifier and Type | Method and Description |
---|---|
void |
sort(Camera camera,
Array<Renderable> renderables)
Sorts the array of
Renderable instances based on some criteria, e.g. |
void sort(Camera camera, Array<Renderable> renderables)
Renderable
instances based on some criteria, e.g. material, distance to camera etc.renderables
- the array of renderables to be sortedCopyright © 2020. All rights reserved.