com.threerings.opengl.material.config
Class MaterialConfig

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.config.ManagedConfig
          extended by com.threerings.config.ParameterizedConfig
              extended by com.threerings.opengl.material.config.MaterialConfig
All Implemented Interfaces:
ConfigUpdateListener<ManagedConfig>, Exportable, com.threerings.resource.ResourceManager.ModificationObserver, Copyable, Cloneable

public class MaterialConfig
extends ParameterizedConfig

Describes a material.


Nested Class Summary
static class MaterialConfig.Derived
          A derived implementation.
static class MaterialConfig.Implementation
          Contains the actual implementation of the material.
static class MaterialConfig.Original
          An original implementation.
 
Field Summary
 MaterialConfig.Implementation implementation
          The actual material implementation.
 
Fields inherited from class com.threerings.config.ParameterizedConfig
parameters
 
Constructor Summary
MaterialConfig()
           
 
Method Summary
 TechniqueConfig getTechnique(GlContext ctx, String scheme)
          Finds a technique to render this material.
 
Methods inherited from class com.threerings.config.ParameterizedConfig
getInstance, getParameter, getReference, validateOuters, validateReferences, wasUpdated
 
Methods inherited from class com.threerings.config.ManagedConfig
addListener, configUpdated, getConfigManager, getInstance, getInstance, getInstance, getInstance, getName, init, removeListener, resourceModified, setName, updateFromSource
 
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

implementation

@Editable
public MaterialConfig.Implementation implementation
The actual material implementation.

Constructor Detail

MaterialConfig

public MaterialConfig()
Method Detail

getTechnique

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

Parameters:
scheme - the preferred render scheme to use.


Copyright © 2011. All Rights Reserved.