|
||||||||||
| 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
@EditorTypes(value={TextureConfig.Original1D.class,TextureConfig.Original2D.class,TextureConfig.Original2DTarget.class,TextureConfig.OriginalRectangle.class,TextureConfig.Original3D.class,TextureConfig.OriginalCubeMap.class,TextureConfig.Reflection.class,TextureConfig.Refraction.class,TextureConfig.CubeRender.class,TextureConfig.Animated.class,TextureConfig.Derived.class})
public abstract static class TextureConfig.ImplementationContains the actual implementation of the texture.
| Constructor Summary | |
|---|---|
TextureConfig.Implementation()
|
|
| Method Summary | |
|---|---|
Texture |
getFromPool(GlContext ctx)
Fetches a texture from the shared pool, or returns null if the
implementation doesn't contain a pool. |
Texture |
getTexture(GlContext ctx)
Returns the texture corresponding to this configuration. |
abstract 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 |
getUpdateResources(HashSet<String> paths)
Adds the implementation's update resources to the provided set. |
void |
invalidate()
Invalidates any cached data. |
abstract boolean |
isSupported(GlContext ctx,
boolean fallback)
Determines whether this configuration is supported by the hardware. |
void |
returnToPool(GlContext ctx,
Texture texture)
Returns a texture to the shared pool. |
| 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 |
| Constructor Detail |
|---|
public TextureConfig.Implementation()
| Method Detail |
|---|
public void getUpdateReferences(ConfigReferenceSet refs)
public void getUpdateResources(HashSet<String> paths)
public abstract boolean isSupported(GlContext ctx,
boolean fallback)
public Texture getTexture(GlContext ctx)
public abstract Texture getTexture(GlContext ctx,
TextureState state,
TextureUnit unit,
Scope scope,
List<Dependency.Adder> adders,
List<Updater> updaters)
public Texture getFromPool(GlContext ctx)
null if the
implementation doesn't contain a pool.
public void returnToPool(GlContext ctx,
Texture texture)
public void invalidate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||