Class AWTTextureUtil

java.lang.Object
com.ardor3d.image.util.awt.AWTTextureUtil

public abstract class AWTTextureUtil extends Object
  • Constructor Details

    • AWTTextureUtil

      public AWTTextureUtil()
  • Method Details

    • loadTexture

      public static final Texture loadTexture(BufferedImage image, Texture.MinificationFilter minFilter, TextureStoreFormat storeFormat, boolean flipVertically)
      Convenience Utility for loading a BufferedImage as an Ardor3D Texture.
      Parameters:
      image - our buffered image
      minFilter - the filter for the near values. Used to determine if we should generate mipmaps.
      storeFormat - the specific format to use when storing this texture on the card.
      flipVertically - If true, the image is flipped vertically during image conversion.
      Returns:
      our new Texture.