|
Jazz3D API |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--com.sygem.jazz3d3.TextureLoader
Utility class for Texture loading.
NOTE: There is no constructor - all the methods are static
so you never create an instance of a Texture Loader, just call the methods
directly.
| Method Summary | |
static Texture |
loadImage(java.awt.Image im)
Loads an image for use as a background, or with the texture mappers. |
static Texture |
loadImage(java.awt.Image im,
int size)
Loads an image for use as a background, or with the texture mappers. |
static Texture |
loadImage(java.awt.Image im,
int sizex,
int sizey)
Loads an image for use as a background, or with the texture mappers. |
static Texture |
loadImage(java.lang.String filename)
Loads an image for use as a background, or with the texture mappers. |
static Texture |
loadImage(java.lang.String filename,
int size)
Loads an image for use as a background, or with the texture mappers. |
static Texture |
loadImage(java.lang.String filename,
int sizex,
int sizey)
Loads an image for use as a background, or with the texture mappers. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static final Texture loadImage(java.lang.String filename)
filename - A string, containing the location of the image. This can
be either a full URL or relative to the applet location.Texture,
Texture.MEDIUM
public static final Texture loadImage(java.lang.String filename,
int size)
filename - A string, containing the location of the image. This can
be either a full URL or relative to the applet location.size - The size of the imageTexture,
Texture.VLARGE,
Texture.LARGE,
Texture.MEDIUM,
Texture.SMALL,
Texture.VSMALL
public static final Texture loadImage(java.lang.String filename,
int sizex,
int sizey)
filename - A string, containing the location of the image. This can
be either a full URL or relative to the applet location.sizex - The x size of the imagesizey - The y size of the imageTexture,
Texture.VLARGE,
Texture.LARGE,
Texture.MEDIUM,
Texture.SMALL,
Texture.VSMALLpublic static final Texture loadImage(java.awt.Image im)
im - An ImageTexture,
Texture.MEDIUM
public static final Texture loadImage(java.awt.Image im,
int size)
im - An Imagesize - The size of the imageTexture,
Texture.VLARGE,
Texture.LARGE,
Texture.MEDIUM,
Texture.SMALL,
Texture.VSMALL
public static final Texture loadImage(java.awt.Image im,
int sizex,
int sizey)
im - An Imagesizex - The x size of the imagesizey - The y size of the imageTexture,
Texture.VLARGE,
Texture.LARGE,
Texture.MEDIUM,
Texture.SMALL,
Texture.VSMALL
|
©2001 SyGem Software |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||