org.xith3d.render
Enum Renderer.TransparentSortingPolicy

java.lang.Object
  extended by java.lang.Enum<Renderer.TransparentSortingPolicy>
      extended by org.xith3d.render.Renderer.TransparentSortingPolicy
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Renderer.TransparentSortingPolicy>
Enclosing class:
Renderer

public static enum Renderer.TransparentSortingPolicy
extends java.lang.Enum<Renderer.TransparentSortingPolicy>


Enum Constant Summary
CUSTOM
          Indicates, that a custom REnderBinSorter is being used
SORT_BOUNDING_SPHERE_AND_EYE_RAY_INTERSECTION
          Transparent shapes are sorted by bounding spheres and eye ray intersection
SORT_BY_Z_VALUE
          Opaque shapes are sorted by z-value
SORT_FRONT_TO_BACK
          Transparent shapes are sorted front-to-back
SORT_NONE
          No sorting is done
 
Method Summary
 RenderBinSorter getSorter()
           
static Renderer.TransparentSortingPolicy valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Renderer.TransparentSortingPolicy[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SORT_NONE

public static final Renderer.TransparentSortingPolicy SORT_NONE
No sorting is done


SORT_FRONT_TO_BACK

public static final Renderer.TransparentSortingPolicy SORT_FRONT_TO_BACK
Transparent shapes are sorted front-to-back


SORT_BOUNDING_SPHERE_AND_EYE_RAY_INTERSECTION

public static final Renderer.TransparentSortingPolicy SORT_BOUNDING_SPHERE_AND_EYE_RAY_INTERSECTION
Transparent shapes are sorted by bounding spheres and eye ray intersection


SORT_BY_Z_VALUE

public static final Renderer.TransparentSortingPolicy SORT_BY_Z_VALUE
Opaque shapes are sorted by z-value


CUSTOM

public static final Renderer.TransparentSortingPolicy CUSTOM
Indicates, that a custom REnderBinSorter is being used

Method Detail

values

public static Renderer.TransparentSortingPolicy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Renderer.TransparentSortingPolicy c : Renderer.TransparentSortingPolicy.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Renderer.TransparentSortingPolicy valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getSorter

public RenderBinSorter getSorter()