|
||||||||||
| 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.util.Preloadable
com.threerings.opengl.util.Preloadable.Config
public static class Preloadable.Config
A generic config resource.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.threerings.opengl.util.Preloadable |
|---|
Preloadable.Animation, Preloadable.Config, Preloadable.Model |
| Constructor Summary | |
|---|---|
Preloadable.Config(Class<T> clazz,
ConfigReference<T> ref)
Creates a new config resource. |
|
Preloadable.Config(Class<T> clazz,
String name)
Creates a new config resource. |
|
| Method Summary | |
|---|---|
Class<ManagedConfig> |
getConfigClass()
Returns a reference to the config class. |
ConfigReference<ManagedConfig> |
getReference()
Returns a reference to the config reference. |
void |
preload(GlContext ctx)
Preloads this resource and creates a reference to it, preventing it from being garbage-collected. |
String |
toString()
|
| Methods inherited from class com.threerings.util.DeepObject |
|---|
clone, copy, copy, equals, hashCode |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Preloadable.Config(Class<T> clazz,
String name)
public Preloadable.Config(Class<T> clazz,
ConfigReference<T> ref)
| Method Detail |
|---|
public Class<ManagedConfig> getConfigClass()
public ConfigReference<ManagedConfig> getReference()
public void preload(GlContext ctx)
Preloadable
preload in class Preloadablepublic String toString()
toString in class DeepObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||