Examples of glDisableClientState()


Examples of com.badlogic.gdx.graphics.GL11.glDisableClientState()

      case Usage.Color:
      case Usage.ColorPacked:
        gl.glDisableClientState(GL11.GL_COLOR_ARRAY);
        break;
      case Usage.Normal:
        gl.glDisableClientState(GL11.GL_NORMAL_ARRAY);
        break;
      case Usage.TextureCoordinates:
        gl.glClientActiveTexture(GL11.GL_TEXTURE0 + textureUnit);
        gl.glDisableClientState(GL11.GL_TEXTURE_COORD_ARRAY);
        textureUnit++;
View Full Code Here

Examples of com.badlogic.gdx.graphics.GL11.glDisableClientState()

      case Usage.Normal:
        gl.glDisableClientState(GL11.GL_NORMAL_ARRAY);
        break;
      case Usage.TextureCoordinates:
        gl.glClientActiveTexture(GL11.GL_TEXTURE0 + textureUnit);
        gl.glDisableClientState(GL11.GL_TEXTURE_COORD_ARRAY);
        textureUnit++;
        break;
      default:
        // throw new GdxRuntimeException("unkown vertex attribute type: " + attribute.usage);
      }
View Full Code Here

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

      g.tint(255,255,255,255);
     
      //FIXME TEST
      PGraphicsOpenGL pgl = (PGraphicsOpenGL)g;
      GL gl = pgl.gl;
      gl.glDisableClientState(GL.GL_VERTEX_ARRAY);
      gl.glDisableClientState(GL.GL_COLOR_ARRAY);
      gl.glDisable(GL.GL_LINE_SMOOTH);
      gl.glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
    }
  }
View Full Code Here

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

     
      //FIXME TEST
      PGraphicsOpenGL pgl = (PGraphicsOpenGL)g;
      GL gl = pgl.gl;
      gl.glDisableClientState(GL.GL_VERTEX_ARRAY);
      gl.glDisableClientState(GL.GL_COLOR_ARRAY);
      gl.glDisable(GL.GL_LINE_SMOOTH);
      gl.glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
    }
  }
 
View Full Code Here

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

    gl.glEndList();
   
    returnVal[1] = listIDOutline;
   
    //Disable client states
    gl.glDisableClientState(GL.GL_VERTEX_ARRAY);
    gl.glDisableClientState(GL.GL_COLOR_ARRAY);
   
    ((PGraphicsOpenGL)pa.g).endGL();
    ////////////////
   
View Full Code Here

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

   
    returnVal[1] = listIDOutline;
   
    //Disable client states
    gl.glDisableClientState(GL.GL_VERTEX_ARRAY);
    gl.glDisableClientState(GL.GL_COLOR_ARRAY);
   
    ((PGraphicsOpenGL)pa.g).endGL();
    ////////////////
   
    return returnVal;
View Full Code Here

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

      }
    gl.glEndList();
    //// STOP recording display list and DRAW////////////////////
   
    if (geometryInfo.isContainsNormals()){
      gl.glDisableClientState(GL.GL_NORMAL_ARRAY);
    }

    if (textureDrawn){
//      gl.glBindTexture(textureTarget, 0);//Unbind texture
      gl.glDisableClientState(GL.GL_TEXTURE_COORD_ARRAY);
View Full Code Here

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

      gl.glDisableClientState(GL.GL_NORMAL_ARRAY);
    }

    if (textureDrawn){
//      gl.glBindTexture(textureTarget, 0);//Unbind texture
      gl.glDisableClientState(GL.GL_TEXTURE_COORD_ARRAY);
//      gl.glDisable(textureTarget); //weiter nach unten?
    }
    returnVal[0] = listIDFill;
   
    /////// DO OUTLINE LIST////////////////////////////
View Full Code Here

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

    gl.glEndList();
    returnVal[1] = listIDOutline;
    ////////////////////////////////////////////////////
   
    //Disable client states
    gl.glDisableClientState(GL.GL_VERTEX_ARRAY);
    gl.glDisableClientState(GL.GL_COLOR_ARRAY);

//    ((PGraphicsOpenGL)pa.g).endGL();
    return returnVal;
  }
View Full Code Here

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

    returnVal[1] = listIDOutline;
    ////////////////////////////////////////////////////
   
    //Disable client states
    gl.glDisableClientState(GL.GL_VERTEX_ARRAY);
    gl.glDisableClientState(GL.GL_COLOR_ARRAY);

//    ((PGraphicsOpenGL)pa.g).endGL();
    return returnVal;
  }
 
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.