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

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

@EditorTypes(value={MaterialConfig.Original.class,MaterialConfig.Derived.class})
public abstract static class MaterialConfig.Implementation
extends DeepObject
implements Exportable

Contains the actual implementation of the material.


Constructor Summary
MaterialConfig.Implementation()
           
 
Method Summary
abstract  TechniqueConfig getTechnique(GlContext ctx, String scheme)
          Returns a technique to use to render this material.
abstract  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
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MaterialConfig.Implementation

public MaterialConfig.Implementation()
Method Detail

getUpdateReferences

public abstract void getUpdateReferences(ConfigReferenceSet refs)
Adds the implementation's update references to the provided set.


getTechnique

public abstract TechniqueConfig getTechnique(GlContext ctx,
                                             String scheme)
Returns a technique to use to render this material.


invalidate

public void invalidate()
Invalidates any cached data.



Copyright © 2011. All Rights Reserved.