Package javax.media.opengl

Examples of javax.media.opengl.GL.glGetIntegerv()


         int[] blueBits   = new int[1];
         int[] alphaBits   = new int[1];
         int[] stencilBits   = new int[1];
         int[] depthBits   = new int[1];
         gl.glGetIntegerv(GL.GL_RED_BITS, redBits,0);
         gl.glGetIntegerv(GL.GL_GREEN_BITS, greenBits,0);
         gl.glGetIntegerv(GL.GL_BLUE_BITS, blueBits,0);
         gl.glGetIntegerv(GL.GL_ALPHA_BITS, alphaBits,0);
         gl.glGetIntegerv(GL.GL_STENCIL_BITS, stencilBits,0);
         gl.glGetIntegerv(GL.GL_DEPTH_BITS, depthBits,0);
    System.out.println("Red bits: " + redBits[0]);
View Full Code Here


         int[] alphaBits   = new int[1];
         int[] stencilBits   = new int[1];
         int[] depthBits   = new int[1];
         gl.glGetIntegerv(GL.GL_RED_BITS, redBits,0);
         gl.glGetIntegerv(GL.GL_GREEN_BITS, greenBits,0);
         gl.glGetIntegerv(GL.GL_BLUE_BITS, blueBits,0);
         gl.glGetIntegerv(GL.GL_ALPHA_BITS, alphaBits,0);
         gl.glGetIntegerv(GL.GL_STENCIL_BITS, stencilBits,0);
         gl.glGetIntegerv(GL.GL_DEPTH_BITS, depthBits,0);
    System.out.println("Red bits: " + redBits[0]);
    System.out.println("Green bits: " + greenBits[0]);
View Full Code Here

         int[] stencilBits   = new int[1];
         int[] depthBits   = new int[1];
         gl.glGetIntegerv(GL.GL_RED_BITS, redBits,0);
         gl.glGetIntegerv(GL.GL_GREEN_BITS, greenBits,0);
         gl.glGetIntegerv(GL.GL_BLUE_BITS, blueBits,0);
         gl.glGetIntegerv(GL.GL_ALPHA_BITS, alphaBits,0);
         gl.glGetIntegerv(GL.GL_STENCIL_BITS, stencilBits,0);
         gl.glGetIntegerv(GL.GL_DEPTH_BITS, depthBits,0);
    System.out.println("Red bits: " + redBits[0]);
    System.out.println("Green bits: " + greenBits[0]);
    System.out.println("Blue bits: " + blueBits[0]);
View Full Code Here

         int[] depthBits   = new int[1];
         gl.glGetIntegerv(GL.GL_RED_BITS, redBits,0);
         gl.glGetIntegerv(GL.GL_GREEN_BITS, greenBits,0);
         gl.glGetIntegerv(GL.GL_BLUE_BITS, blueBits,0);
         gl.glGetIntegerv(GL.GL_ALPHA_BITS, alphaBits,0);
         gl.glGetIntegerv(GL.GL_STENCIL_BITS, stencilBits,0);
         gl.glGetIntegerv(GL.GL_DEPTH_BITS, depthBits,0);
    System.out.println("Red bits: " + redBits[0]);
    System.out.println("Green bits: " + greenBits[0]);
    System.out.println("Blue bits: " + blueBits[0]);
    System.out.println("Alpha bits: " + blueBits[0]);
View Full Code Here

         gl.glGetIntegerv(GL.GL_RED_BITS, redBits,0);
         gl.glGetIntegerv(GL.GL_GREEN_BITS, greenBits,0);
         gl.glGetIntegerv(GL.GL_BLUE_BITS, blueBits,0);
         gl.glGetIntegerv(GL.GL_ALPHA_BITS, alphaBits,0);
         gl.glGetIntegerv(GL.GL_STENCIL_BITS, stencilBits,0);
         gl.glGetIntegerv(GL.GL_DEPTH_BITS, depthBits,0);
    System.out.println("Red bits: " + redBits[0]);
    System.out.println("Green bits: " + greenBits[0]);
    System.out.println("Blue bits: " + blueBits[0]);
    System.out.println("Alpha bits: " + blueBits[0]);
    System.out.println("Depth Buffer bits: " + depthBits[0]);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.