com.threerings.opengl.model.config
Class StaticConfig

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.model.config.ModelConfig.Implementation
          extended by com.threerings.opengl.model.config.ModelConfig.Imported
              extended by com.threerings.opengl.model.config.StaticConfig
All Implemented Interfaces:
Exportable, Copyable, Cloneable

public class StaticConfig
extends ModelConfig.Imported

An original static implementation.


Nested Class Summary
static class StaticConfig.Resolved
          Contains the resolved derived config bits.
 
Nested classes/interfaces inherited from class com.threerings.opengl.model.config.ModelConfig.Imported
ModelConfig.Imported.MaterialMapping
 
Field Summary
 ModelConfig.MeshSet meshes
          The meshes comprising this model.
 
Fields inherited from class com.threerings.opengl.model.config.ModelConfig.Imported
boundsExpansion, generateTangents, ignoreRootTransforms, influences, materialMappings, scale
 
Constructor Summary
StaticConfig()
           
 
Method Summary
 Model.Implementation getModelImplementation(GlContext ctx, Scope scope, Model.Implementation impl)
          Creates or updates a model implementation for this configuration.
 void invalidate()
          Invalidates any cached data.
 
Methods inherited from class com.threerings.opengl.model.config.ModelConfig.Imported
getParticleGeometry, getParticleMaterial, getSource, setSource, updateFromSource
 
Methods inherited from class com.threerings.opengl.model.config.ModelConfig.Implementation
getConfigManager, getOriginal, getUpdateReferences
 
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

meshes

@Shallow
public ModelConfig.MeshSet meshes
The meshes comprising this model.

Constructor Detail

StaticConfig

public StaticConfig()
Method Detail

getModelImplementation

public Model.Implementation getModelImplementation(GlContext ctx,
                                                   Scope scope,
                                                   Model.Implementation impl)
Description copied from class: ModelConfig.Implementation
Creates or updates a model implementation for this configuration.

Overrides:
getModelImplementation in class ModelConfig.Imported
scope - the model's expression scope.
impl - an existing implementation to reuse, if possible.
Returns:
either a reference to the existing implementation (if reused), a new implementation, or null if no implementation could be created.

invalidate

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

Overrides:
invalidate in class ModelConfig.Implementation


Copyright © 2011. All Rights Reserved.