|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.j3d.utils.image.TextureLoader
net.jbeans.j3d.util.texture.TextureLoader
generally describe TextureLoader in here
TextureLoader
Field Summary |
Fields inherited from class com.sun.j3d.utils.image.TextureLoader |
BY_REFERENCE, GENERATE_MIPMAP, Y_UP |
Constructor Summary | |
TextureLoader(java.awt.Image image)
Constructs a TextureLoader object loading the specified iamge in default (RGBA) format. |
|
TextureLoader(java.awt.Image image,
int flags)
Constructs a TextureLoader object loading the specified image and option flags in the default (RGBA) format. |
|
TextureLoader(java.awt.Image image,
java.lang.String format)
Constructs a TextureLoader object loading the specified file using the specified format. |
|
TextureLoader(java.awt.Image image,
java.lang.String format,
int flags)
Constructs a TextureLoader object loading the specified file with specified format and flags. |
|
TextureLoader(java.lang.String fname)
Constructs a TextureLoader object loading the specified file using the default format (RGBA). |
|
TextureLoader(java.lang.String fname,
int flags)
Constructs a TextureLoader object loading the specified file with the specified flags. |
|
TextureLoader(java.lang.String fname,
java.lang.String format)
Constructs a TextureLoader object loading the specified file using the specified format. |
|
TextureLoader(java.lang.String fname,
java.lang.String format,
int flags)
Constructs a TextureLoader object loading the specified file using the specified format and flags. |
|
TextureLoader(java.net.URL url)
Constructs a TextureLoader object loading the specified URL using the default format. |
|
TextureLoader(java.net.URL url,
int flags)
Constructs a TextureLoader object loading the specified URL using the specified flags. |
|
TextureLoader(java.net.URL url,
java.lang.String format)
Constructs a TextureLoader object loading the specified URL using the specified format. |
|
TextureLoader(java.net.URL url,
java.lang.String format,
int flags)
Constructs a TextureLoader object loading the specified URL using the specified format and flags. |
Method Summary | |
static java.awt.Component |
getImageObserver()
Retreve the object used as the image observer for TextureLoader objects. |
static void |
setImageObserver(java.awt.Component imageObserver)
Specify an object to server as the image observer. |
Methods inherited from class com.sun.j3d.utils.image.TextureLoader |
getImage, getScaledImage, getScaledImage, getTexture |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TextureLoader(java.awt.Image image)
image
- the image object to loadpublic TextureLoader(java.awt.Image image, int flags)
image
- the image object to loadflags
- the flags to use in construction (e.g. generate mipmap)public TextureLoader(java.awt.Image image, java.lang.String format)
image
- the image object to loadformat
- specificaiton of which channels to use (e.g. RGB)public TextureLoader(java.awt.Image image, java.lang.String format, int flags)
image
- the image object to loadformat
- specificaiton of which channels to use (e.g. RGB)flags
- the flags to use in construction (e.g. generate mipmap)public TextureLoader(java.lang.String fname)
fname
- the name of the file to loadpublic TextureLoader(java.lang.String fname, int flags)
fname
- the name of the file to loadflags
- the flags to use in construction (e.g. generate mipmap)public TextureLoader(java.lang.String fname, java.lang.String format)
fname
- the name of the file to loadformat
- specificaiton of which channels to use (e.g. RGB)public TextureLoader(java.lang.String fname, java.lang.String format, int flags)
fname
- the name of the file to loadformat
- specificaiton of which channels to use (e.g. RGB)flags
- the flags to use in construction (e.g. generate mipmap)public TextureLoader(java.net.URL url)
url
- specifies the URL of the image to loadpublic TextureLoader(java.net.URL url, int flags)
url
- specifies the URL of the image to loadflags
- the flags to use in construction (e.g. generate mipmap)public TextureLoader(java.net.URL url, java.lang.String format)
url
- specifies the URL of the image to loadformat
- specificaiton of which channels to use (e.g. RGB)public TextureLoader(java.net.URL url, java.lang.String format, int flags)
url
- specifies the URL of the image to loadformat
- specificaiton of which channels to use (e.g. RGB)flags
- the flags to use in construction (e.g. generate mipmap)Method Detail |
public static void setImageObserver(java.awt.Component imageObserver)
imageObserver
- the object to be used in subsequent
TextureLoader constuctionspublic static java.awt.Component getImageObserver()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |