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

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.Derived
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
MaterialConfig

public static class MaterialConfig.Derived
extends MaterialConfig.Implementation

A derived implementation.


Field Summary
 ConfigReference<MaterialConfig> material
          The material reference.
 
Constructor Summary
MaterialConfig.Derived()
           
 
Method Summary
 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.
 
Methods inherited from class com.threerings.opengl.material.config.MaterialConfig.Implementation
invalidate
 
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

material

@Editable(nullable=true)
public ConfigReference<MaterialConfig> material
The material reference.

Constructor Detail

MaterialConfig.Derived

public MaterialConfig.Derived()
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


Copyright © 2011. All Rights Reserved.