180

Introducing Texture Mapping
Loading Texture Images

  • The TextureLoader utility class loads an image from a file or URL, and returns an ImageComponent
  • Method
    TextureLoader( String path, Component observer )
    TextureLoader( String path, String format, Component observer )
    ImageComponent2D getImage( )
    Texture getTexture( )