I use the following method to load my textures.
TextureIO.newTextureData( GLProfile glp, InputStream stream,
boolean mipmap, String fileSuffix)
that works with tga, jpg and png files, but crashes if i want to load an dds-file.
Must i take another method to load dds-files?
Problematic is in my opinion, that the textures must enable and bind
an texture object that lies in main memory and not in the graphic card memory.
If i want to load my textures in graphic card memory i use
gl.glTexImage2D( GL4bc.GL_TEXTURE_2D, 0, format, width, height, 0, format, GL2.GL_UNSIGNED_BYTE, datas )
but the exact texture types from TextureData object i have not found.
It's not good ( nothing
) documented.
Is it pixelFormat, Internelformat or PixelType??