APIdia Launch Partner
Top Description Methods
com.badlogic.gdx.graphics.g3d.utils

public Interface RenderableSorter

Known Direct Implementers
com.badlogic.gdx.graphics.g3d.ModelCache.Sorter, com.badlogic.gdx.graphics.g3d.utils.DefaultRenderableSorter
Imports
com.badlogic.gdx.graphics.Camera, com.badlogic.gdx.graphics.g3d.Renderable, com.badlogic.gdx.utils.Array

Responsible for sorting Renderable lists by whatever criteria (material, distance to camera, etc.)
Author
badlogic

Method Summary

Modifier and TypeMethod and Description
public void
sort(Camera camera, Array<Renderable>
the array of renderables to be sorted
renderables
)

Sorts the array of Renderable instances based on some criteria, e.g. material, distance to camera etc.

Method Detail

sortback to summary
public void sort(Camera camera, Array<Renderable> renderables)

Sorts the array of Renderable instances based on some criteria, e.g. material, distance to camera etc.

Parameters
renderables:Array<Renderable>

the array of renderables to be sorted