|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.javagl.swogl.Textures
public class Textures
Factory methods for creating Texture
instances.
Method Summary | |
---|---|
static Texture |
create(int width,
int height)
Creates a new Texture with the given size. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Texture create(int width, int height)
Texture
with the given size. The width and height
will be clamped to be at least 1. It is valid to assume that the
returned texture is backed by a BufferedImage with format
TYPE_INT_ARGB.
width
- The width of the textureheight
- The height of the texture
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |