com.threerings.opengl.geometry.config
Class PassDescriptor

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.geometry.config.PassDescriptor
All Implemented Interfaces:
Copyable, Cloneable

public class PassDescriptor
extends DeepObject

Describes the elements of state that will be used in a pass for the purpose of configuring the geometry instance.


Field Summary
 boolean colors
          Whether or not the pass will use vertex colors.
 CoordSpace coordSpace
          The coordinate space in which the vertex shader works.
 int firstVertexAttribIndex
          The index of the first vertex attribute used in the pass.
 String[] hints
          The set of hints specified in the vertex shader config.
 boolean normals
          Whether or not the pass will use vertex normals.
 int[] texCoordSets
          The texture coordinate sets used by each unit.
 String[] vertexAttribs
          The vertex attributes used by the pass.
 
Constructor Summary
PassDescriptor()
           
 
Method Summary
 boolean containsHint(String hint)
          Determines whether this descriptor contains the specified hint.
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

hints

public String[] hints
The set of hints specified in the vertex shader config.


coordSpace

public CoordSpace coordSpace
The coordinate space in which the vertex shader works.


firstVertexAttribIndex

public int firstVertexAttribIndex
The index of the first vertex attribute used in the pass.


vertexAttribs

public String[] vertexAttribs
The vertex attributes used by the pass.


texCoordSets

public int[] texCoordSets
The texture coordinate sets used by each unit.


colors

public boolean colors
Whether or not the pass will use vertex colors.


normals

public boolean normals
Whether or not the pass will use vertex normals.

Constructor Detail

PassDescriptor

public PassDescriptor()
Method Detail

containsHint

public boolean containsHint(String hint)
Determines whether this descriptor contains the specified hint.



Copyright © 2011. All Rights Reserved.