File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 11package cleargl ;
22
3+ import com .jogamp .opengl .GL4 ;
4+ import com .jogamp .opengl .GLException ;
5+
6+ import javax .imageio .ImageIO ;
37import java .awt .*;
48import java .awt .color .ColorSpace ;
59import java .awt .geom .AffineTransform ;
1115import java .nio .channels .FileChannel ;
1216import java .util .Arrays ;
1317import java .util .Hashtable ;
14- import javax .imageio .ImageIO ;
15- import com .jogamp .opengl .GL4 ;
16- import com .jogamp .opengl .GLException ;
1718
1819@ SuppressWarnings ({"WeakerAccess" , "unused" })
1920public class GLTexture implements GLInterface , GLCloseable {
@@ -640,6 +641,10 @@ public int getChannels() {
640641 return mNumberOfChannels ;
641642 }
642643
644+ public int getFormat () {
645+ return mTextureOpenGLFormat ;
646+ }
647+
643648 public int getInternalFormat () {
644649 return mTextureOpenGLInternalFormat ;
645650 }
You can’t perform that action at this time.
0 commit comments