org.xith3d.scenegraph
Enum Geometry.Optimization

java.lang.Object
  extended by java.lang.Enum<Geometry.Optimization>
      extended by org.xith3d.scenegraph.Geometry.Optimization
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Geometry.Optimization>
Enclosing class:
Geometry

public static enum Geometry.Optimization
extends java.lang.Enum<Geometry.Optimization>


Enum Constant Summary
AUTO
          The Renderer tries to find the best suitable optimization.
NONE
          Use this, if a Shape is highly dynamic (Appearance and Geometry).
USE_DISPLAY_LISTS
          Use this, if a Geometry and texture coordinates are absolutely static.
USE_VBO_FOR_TEXTURE_COORDINATES
          Use this, if a the texture coordinates are absolutely static.
USE_VBO_FOR_VERTEX_DATA
          Use this, if the vertices are absolutely static.
USE_VBOS
          Use this, if a Geometry and texture coordinates are absolutely static.
 
Method Summary
 boolean dl()
           
 boolean isAuto()
           
 boolean isNone()
           
 boolean optForTexCoords()
           
 boolean optForVertices()
           
static Geometry.Optimization valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Geometry.Optimization[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 boolean vbo()
           
 boolean vboForTexCoords()
           
 boolean vboForVertices()
           
 
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

NONE

public static final Geometry.Optimization NONE
Use this, if a Shape is highly dynamic (Appearance and Geometry).


AUTO

public static final Geometry.Optimization AUTO
The Renderer tries to find the best suitable optimization.


USE_DISPLAY_LISTS

public static final Geometry.Optimization USE_DISPLAY_LISTS
Use this, if a Geometry and texture coordinates are absolutely static.
Changes will be expensive.


USE_VBOS

public static final Geometry.Optimization USE_VBOS
Use this, if a Geometry and texture coordinates are absolutely static.
Changes will be expensive.


USE_VBO_FOR_VERTEX_DATA

public static final Geometry.Optimization USE_VBO_FOR_VERTEX_DATA
Use this, if the vertices are absolutely static.
Changes will be expensive.


USE_VBO_FOR_TEXTURE_COORDINATES

public static final Geometry.Optimization USE_VBO_FOR_TEXTURE_COORDINATES
Use this, if a the texture coordinates are absolutely static.
Changes will be expensive.

Method Detail

values

public static Geometry.Optimization[] 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 (Geometry.Optimization c : Geometry.Optimization.values())
    System.out.println(c);

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

valueOf

public static Geometry.Optimization 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

isNone

public final boolean isNone()

isAuto

public final boolean isAuto()

dl

public final boolean dl()

vboForVertices

public final boolean vboForVertices()

vboForTexCoords

public final boolean vboForTexCoords()

vbo

public final boolean vbo()

optForVertices

public final boolean optForVertices()

optForTexCoords

public final boolean optForTexCoords()