public class DefaultTextureImageLoader extends java.lang.Object implements TextureImageLoader
| Constructor and Description |
|---|
DefaultTextureImageLoader(Loader3DS loader)
Constructs an image loader that will resolve image
locations to the base path of the loader provided.
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.Image |
getTextureImage(java.lang.String imageName)
Gets the image to be loaded as a texture.
|
public DefaultTextureImageLoader(Loader3DS loader)
the - loader that will specify the base path
used to retrieve images.public java.awt.Image getTextureImage(java.lang.String imageName)
getTextureImage in interface TextureImageLoaderimageName - the name of the image to load.Copyright © 2000-2013 Microcrowd. All Rights Reserved.