com.threerings.opengl.geometry.config
Class DeformerConfig.Skin

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.geometry.config.DeformerConfig
          extended by com.threerings.opengl.geometry.config.DeformerConfig.Skin
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
DeformerConfig

public static class DeformerConfig.Skin
extends DeformerConfig

Performs software skinning.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.geometry.config.DeformerConfig
DeformerConfig.Skin
 
Constructor Summary
DeformerConfig.Skin()
           
 
Method Summary
 Geometry createGeometry(GlContext ctx, Scope scope, GeometryConfig.Stored config, PassDescriptor[] passes)
          Creates a deformed geometry object.
protected  int getNormalOffset(ArrayState[] arrayStates)
          Retrieves the normal offset from the supplied array states.
protected  int getTangentOffset(PassDescriptor[] passes, ArrayState[] arrayStates)
          Retrieves the tangent offset from the supplied array states.
 
Methods inherited from class com.threerings.opengl.geometry.config.DeformerConfig
skinVertices, skinVertices, skinVertices
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeformerConfig.Skin

public DeformerConfig.Skin()
Method Detail

createGeometry

public Geometry createGeometry(GlContext ctx,
                               Scope scope,
                               GeometryConfig.Stored config,
                               PassDescriptor[] passes)
Description copied from class: DeformerConfig
Creates a deformed geometry object.

Specified by:
createGeometry in class DeformerConfig

getTangentOffset

protected int getTangentOffset(PassDescriptor[] passes,
                               ArrayState[] arrayStates)
Retrieves the tangent offset from the supplied array states.


getNormalOffset

protected int getNormalOffset(ArrayState[] arrayStates)
Retrieves the normal offset from the supplied array states.