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 TextureImageLoader
imageName
- the name of the image to load.Copyright © 2000-2014 Microcrowd. All Rights Reserved.