public static Texture getTexture ( String resourceName , BufferedImage resourceImage ) throws IOException { Texture tex = getTexture ( resourceName , resourceImage , SGL . GL_TEXTURE_2D , // target SGL . GL_RGBA8 , // dest pixel format SGL . GL_LINEAR , // min filter (unused) SGL . GL_LINEAR ) ; return tex ; }
Load a texture