Parameters: fname - The file that specifies an Image to load the texture with format - The format specifies which channels to use observer - The associated image observer observer) Contructs a TextureLoader object using the specified file, Parameters: fname - The file that specifies an Image to load the texture with observer - The associated image observer observer) Contructs a TextureLoader object using the specified file Parameters: image - The Image used for loading the texture format - The format specifies which channels to use flags - The flags specify what options to use in texture loading (generate mipmap etc) observer - The associated image observer Parameters: image - The Image used for loading the texture flags - The flags specify what options to use in texture loading (generate mipmap etc) observer - The associated image observer Parameters: image - The Image used for loading the texture format - The format specifies which channels to use observer - The associated image observer Parameters: image - The Image used for loading the texture observer - The associated image observer
observer) Contructs a TextureLoader object using the specified Image
Parameters: bImage - The BufferedImage used for loading the texture format - The format specifies which channels to use flags - The flags specify what options to use in texture loading (generate mipmap etc)
Parameters: bImage - The BufferedImage used for loading the texture flags - The flags specify what options to use in texture loading (generate mipmap etc) Int flags) Contructs a TextureLoader object using the specified BufferedImage, Parameters: bImage - The BufferedImage used for loading the texture format - The format specifies which channels to use format) Contructs a TextureLoader object using the specified BufferedImage Parameters: bImage - The BufferedImage used for loading the texture Public TextureLoader( bImage) Contructs a TextureLoader object using the specified BufferedImage Since: Java 3D 1.2 See Also: Constant Field Values Constructor Detail Public static final int Y_UP Optional flag - specifies that the ImageComponent2D will Since: Java 3D 1.2 See Also: Constant Field Values Public static final int BY_REFERENCE Optional flag - specifies that the ImageComponent2D will Public static final int GENERATE_MIPMAP Optional flag - specifies that mipmaps are generated for all levels Methods inherited from class Ĭlone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Returns the scaled ImageComponent2D object Returns the associated ImageComponent2D object TextureLoader( bImage,Ĭontructs a TextureLoader object using the specified BufferedImage,Ĭontructs a TextureLoader object using the specified ImageĬontructs a TextureLoader object using the specified fileĬontructs a TextureLoader object using the specified file,Ĭontructs a TextureLoader object using the specified URLĬontructs a TextureLoader object using the specified URL, TextureLoader( bImage)Ĭontructs a TextureLoader object using the specified BufferedImage Have a y-orientation of y up, meaning the origin of the image is the Optional flag - specifies that mipmaps are generated for all levels Optional flag - specifies that the ImageComponent2D will RGB, RGB4, RGB5, R3_G3_B2, LUM8_ALPHA8, LUM4_ALPHA4, LUMINANCE and ALPHA Other legal formats are: RGBA, RGBA4, RGB5_A1, ImageComponent object or a scaled version of the ImageComponent object.ĭefault format is RGBA. Methods are provided to retrieve the Texture object and the associated Package is available, a larger set of formats can be loaded, including The Image I/O API is used to load the images. This class is used for loading a texture from an Image or BufferedImage. SUMMARY: NESTED | FIELD | CONSTR | METHOD