com.threerings.opengl.material.config
Class MaterialConfig.Original

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.material.config.MaterialConfig.Implementation
          extended by com.threerings.opengl.material.config.MaterialConfig.Original
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
MaterialConfig

public static class MaterialConfig.Original
extends MaterialConfig.Implementation

An original implementation.


Field Summary
protected  boolean _compatibilityMode
          The compatibility mode setting when the techniques were processed.
protected  ArrayList<TechniqueConfig> _processedTechniques
          The cached list of supported techniques.
 TechniqueConfig[] techniques
          The techniques available to render the material.
 
Constructor Summary
MaterialConfig.Original()
           
 
Method Summary
protected  ArrayList<TechniqueConfig> getProcessedTechniques(GlContext ctx)
          Returns the lazily-constructed list of processed techniques.
 TechniqueConfig getTechnique(GlContext ctx, String scheme)
          Returns a technique to use to render this material.
 void getUpdateReferences(ConfigReferenceSet refs)
          Adds the implementation's update references to the provided set.
 void invalidate()
          Invalidates any cached data.
 
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
 

Field Detail

techniques

@Editable
public TechniqueConfig[] techniques
The techniques available to render the material.


_processedTechniques

@DeepOmit
protected transient ArrayList<TechniqueConfig> _processedTechniques
The cached list of supported techniques.


_compatibilityMode

@DeepOmit
protected transient boolean _compatibilityMode
The compatibility mode setting when the techniques were processed.

Constructor Detail

MaterialConfig.Original

public MaterialConfig.Original()
Method Detail

getUpdateReferences

public void getUpdateReferences(ConfigReferenceSet refs)
Description copied from class: MaterialConfig.Implementation
Adds the implementation's update references to the provided set.

Specified by:
getUpdateReferences in class MaterialConfig.Implementation

getTechnique

public TechniqueConfig getTechnique(GlContext ctx,
                                    String scheme)
Description copied from class: MaterialConfig.Implementation
Returns a technique to use to render this material.

Specified by:
getTechnique in class MaterialConfig.Implementation

invalidate

public void invalidate()
Description copied from class: MaterialConfig.Implementation
Invalidates any cached data.

Overrides:
invalidate in class MaterialConfig.Implementation

getProcessedTechniques

protected ArrayList<TechniqueConfig> getProcessedTechniques(GlContext ctx)
Returns the lazily-constructed list of processed techniques.