com.threerings.opengl.util
Class Preloadable.Animation

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.util.Preloadable
          extended by com.threerings.opengl.util.Preloadable.Animation
All Implemented Interfaces:
Copyable, Cloneable
Enclosing class:
Preloadable

public static class Preloadable.Animation
extends Preloadable

An animation resource.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.util.Preloadable
Preloadable.Animation, Preloadable.Config, Preloadable.Model
 
Constructor Summary
Preloadable.Animation(ConfigReference<AnimationConfig> ref)
          Creates a new model resource.
 
Method Summary
 ConfigReference<AnimationConfig> getReference()
          Returns a reference to the animation 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

Preloadable.Animation

public Preloadable.Animation(ConfigReference<AnimationConfig> ref)
Creates a new model resource.

Method Detail

getReference

public ConfigReference<AnimationConfig> getReference()
Returns a reference to the animation config reference.


preload

public void preload(GlContext ctx)
Description copied from class: Preloadable
Preloads this resource and creates a reference to it, preventing it from being garbage-collected.

Specified by:
preload in class Preloadable

toString

public String toString()
Overrides:
toString in class DeepObject


Copyright © 2011. All Rights Reserved.