Package javax.media.opengl

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


      boolean clipping = false;
      if (GLStencilUtil.getInstance().isClipActive()){
        clipping = true;
        gl.glPushAttrib(GL.GL_STENCIL_BUFFER_BIT);
        gl.glClearStencil(GLStencilUtil.getInstance().stencilValueStack.peek());
        gl.glClear(GL.GL_STENCIL_BUFFER_BIT);
        //      gl.glDisable(GL.GL_STENCIL_TEST);
      }
//      */
     
//      gl.glEnable(gl.GL_ALPHA_TEST);
 
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.