|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.opengl.model.config.ModelConfig.Implementation
com.threerings.opengl.model.config.GeneratedStaticConfig
public class GeneratedStaticConfig
Configuration for static models generated in code.
| Nested Class Summary | |
|---|---|
static class |
GeneratedStaticConfig.Generator
The object responsible for generating the geometry. |
static class |
GeneratedStaticConfig.Quad
Generates a simple quad with customizable level of tessellation. |
| Field Summary | |
|---|---|
protected SoftReference<StaticConfig.Resolved> |
_resolved
The cached resolved config bits. |
GeneratedStaticConfig.Generator |
generator
The geometry generator. |
InfluenceFlagConfig |
influences
The influences allowed to affect this generator. |
| Constructor Summary | |
|---|---|
GeneratedStaticConfig()
|
|
| 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.Implementation |
|---|
getConfigManager, getOriginal, getParticleGeometry, getParticleMaterial, getUpdateReferences, updateFromSource |
| 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 |
|---|
@Editable public InfluenceFlagConfig influences
@Editable public GeneratedStaticConfig.Generator generator
@DeepOmit protected transient SoftReference<StaticConfig.Resolved> _resolved
| Constructor Detail |
|---|
public GeneratedStaticConfig()
| Method Detail |
|---|
public Model.Implementation getModelImplementation(GlContext ctx,
Scope scope,
Model.Implementation impl)
ModelConfig.Implementation
getModelImplementation in class ModelConfig.Implementationscope - the model's expression scope.impl - an existing implementation to reuse, if possible.
null if no implementation could be created.public void invalidate()
ModelConfig.Implementation
invalidate in class ModelConfig.Implementation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||