Maximum texture size on your graphics card?

Anybody here knows how you look up the maximum texture size on your graphics card? I can't seem to find an answer by googling...

I have a a NVIDIA GeForce GT 750M 2048 MB.

Answers

  • edited July 2016

    this works for me on P3 (linux, GT130M)

    import com.jogamp.opengl.*;  // new jogl - 3.0b7
    
    size(100, 100, OPENGL);
    GL gl = ((PJOGL)beginPGL()).gl.getGL();
    GL3 gl3 = gl.getGL3();
    int[] buff = new int[1];
    gl3.glGetIntegerv(GL3.GL_MAX_TEXTURE_SIZE, buff, 0);
    println(buff);
    

    i've guessed at a few bits here. specifically the GL3. (GL2 or GL4 didn't work, didn't try any of the GLES options)

    gives the answer 8192 fwiw, being a graphics card from 2009

  • Cool, thanks! It prints out [0] 16384

    How do I interpret this number? What I am interested in is how many pixels in height x width it can contain...

  • Answer ✓

    max texture size: 16384 x 16384

Sign In or Register to comment.