com.threerings.opengl.geometry.config
Class PassSummary

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

public class PassSummary
extends DeepObject

Summarizes the attributes used by a set of passes.


Field Summary
 boolean colors
          Whether or not any of the passes use vertex colors.
 boolean normals
          Whether or not any of the passes use vertex normals.
 ArrayIntSet texCoordSets
          All of the texture coordinate sets used by the passes.
 HashSet<String> vertexAttribs
          The names of all vertex attributes used by the passes.
 
Constructor Summary
PassSummary(PassDescriptor... passes)
          Creates a new summary for the described passes.
 
Method Summary
 boolean equals(Object other)
           
 int hashCode()
           
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

vertexAttribs

public HashSet<String> vertexAttribs
The names of all vertex attributes used by the passes.


texCoordSets

public ArrayIntSet texCoordSets
All of the texture coordinate sets used by the passes.


colors

public boolean colors
Whether or not any of the passes use vertex colors.


normals

public boolean normals
Whether or not any of the passes use vertex normals.

Constructor Detail

PassSummary

public PassSummary(PassDescriptor... passes)
Creates a new summary for the described passes.

Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class DeepObject

equals

public boolean equals(Object other)
Overrides:
equals in class DeepObject


Copyright © 2011. All Rights Reserved.