org.xith3d.render.preprocessing.sorting
Class RenderBinSorter

java.lang.Object
  extended by org.xith3d.render.preprocessing.sorting.RenderBinSorter
Direct Known Subclasses:
BackToFrontRenderBinSorter, CustomRenderBinSorter, FrontToBackRenderBinSorter, FrontToBackRenderBinSorter2, OrderedBackToFrontRenderBinSorter, OrderedStateRenderBinSorter, StateRenderBinSorter, TU2StateRenderBinSorter, ZValueRenderBinSorter

public abstract class RenderBinSorter
extends java.lang.Object

A RenderBinSorter is a sorting instance for all RenderBins of the Renderer.

See Also:
RenderBin, Renderer, Renderer.setOpaqueSortingPolicy(org.xith3d.render.Renderer.OpaqueSortingPolicy)

Constructor Summary
RenderBinSorter()
           
 
Method Summary
abstract  void sortRenderBin(RenderBin renderBin, Transform3D viewTransform)
          Sorts a whole RenderBin.
 void updateDistancesToView(RenderBin renderBin, Transform3D viewTransform)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenderBinSorter

public RenderBinSorter()
Method Detail

updateDistancesToView

public void updateDistancesToView(RenderBin renderBin,
                                  Transform3D viewTransform)

sortRenderBin

public abstract void sortRenderBin(RenderBin renderBin,
                                   Transform3D viewTransform)
Sorts a whole RenderBin.

Parameters:
renderBin -
viewTransform -