com.threerings.opengl.renderer.config
Class TextureConfig.Original2D.Blank
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.renderer.config.TextureConfig.Original2D.Contents
com.threerings.opengl.renderer.config.TextureConfig.Original2D.Blank
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- TextureConfig.Original2D
public static class TextureConfig.Original2D.Blank
- extends TextureConfig.Original2D.Contents
Creates a blank texture.
|
Field Summary |
int |
height
The height of the texture. |
int |
width
The width of the texture. |
width
@Editable(min=1.0,
hgroup="d")
public int width
- The width of the texture.
height
@Editable(min=1.0,
hgroup="d")
public int height
- The height of the texture.
TextureConfig.Original2D.Blank
public TextureConfig.Original2D.Blank()
load
public void load(GlContext ctx,
Texture2D texture,
TextureConfig.Format format,
boolean border,
boolean mipmap)
- Description copied from class:
TextureConfig.Original2D.Contents
- Loads the texture with the contents.
- Specified by:
load in class TextureConfig.Original2D.Contents
Copyright © 2011. All Rights Reserved.