Package java.nio

Examples of java.nio.IntBuffer.rewind()


   */
  public void destroy() {
    if (fboID > 0) {
      final IntBuffer id = ToolsBuffers.createIntBuffer(1);
      id.put(fboID);
      id.rewind();
      gl.glDeleteFramebuffersEXT(id.limit(), id);
      fboID = 0;
    }

    if (depthRBID > 0) {
View Full Code Here


    }

    if (depthRBID > 0) {
      final IntBuffer id = ToolsBuffers.createIntBuffer(1);
      id.put(depthRBID);
      id.rewind();
      gl.glDeleteRenderbuffersEXT(id.limit(), id);
      depthRBID = 0;
    }
   
    this.textures.clear();
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.