|
||||||||||
| 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.renderer.config.TextureConfig.Implementation
com.threerings.opengl.renderer.config.TextureConfig.Animated
public static class TextureConfig.Animated
Switches between subtextures according to an expression.
| Field Summary | |
|---|---|
FloatExpression |
frame
The expression that determines the frame index. |
TextureConfig.Frame[] |
frames
The list of frames. |
| Constructor Summary | |
|---|---|
TextureConfig.Animated()
|
|
| Method Summary | |
|---|---|
Texture |
getTexture(GlContext ctx,
TextureState state,
TextureUnit unit,
Scope scope,
List<Dependency.Adder> adders,
List<Updater> updaters)
Returns the (possibly dynamic) texture corresponding to this configuration. |
void |
getUpdateReferences(ConfigReferenceSet refs)
Adds the implementation's update references to the provided set. |
void |
invalidate()
Invalidates any cached data. |
boolean |
isSupported(GlContext ctx,
boolean fallback)
Determines whether this configuration is supported by the hardware. |
| Methods inherited from class com.threerings.opengl.renderer.config.TextureConfig.Implementation |
|---|
getFromPool, getTexture, getUpdateResources, returnToPool |
| 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 |
|---|
@Editable public FloatExpression frame
@Editable public TextureConfig.Frame[] frames
| Constructor Detail |
|---|
public TextureConfig.Animated()
| Method Detail |
|---|
public void getUpdateReferences(ConfigReferenceSet refs)
TextureConfig.Implementation
getUpdateReferences in class TextureConfig.Implementation
public boolean isSupported(GlContext ctx,
boolean fallback)
TextureConfig.Implementation
isSupported in class TextureConfig.Implementation
public Texture getTexture(GlContext ctx,
TextureState state,
TextureUnit unit,
Scope scope,
List<Dependency.Adder> adders,
List<Updater> updaters)
TextureConfig.Implementation
getTexture in class TextureConfig.Implementationpublic void invalidate()
TextureConfig.Implementation
invalidate in class TextureConfig.Implementation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||