com.threerings.opengl.renderer.config
Class TextureConfig.Original2D.Contents
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.renderer.config.TextureConfig.Original2D.Contents
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Direct Known Subclasses:
- TextureConfig.Original2D.Blank, TextureConfig.Original2D.ImageFile
- Enclosing class:
- TextureConfig.Original2D
@EditorTypes(value={TextureConfig.Original2D.Blank.class,TextureConfig.Original2D.ImageFile.class})
public abstract static class TextureConfig.Original2D.Contents- extends DeepObject
- implements Exportable
The initial contents of the texture.
TextureConfig.Original2D.Contents
public TextureConfig.Original2D.Contents()
getUpdateResources
public void getUpdateResources(HashSet<String> paths)
- Adds the contents' update resources to the provided set.
load
public abstract void load(GlContext ctx,
Texture2D texture,
TextureConfig.Format format,
boolean border,
boolean mipmap)
- Loads the texture with the contents.
Copyright © 2011. All Rights Reserved.