Package org.lwjgl

Examples of org.lwjgl.PointerBuffer.flip()


    PointerBuffer buffer = getLengths(strings.length);

    for ( CharSequence string : strings )
      buffer.put(string.length());

    buffer.flip();
    return buffer;
  }

  /**
   * Returns a buffer containing the lengths of the specified buffers.
View Full Code Here


    PointerBuffer lengths = getLengths(buffers.length);

    for ( ByteBuffer buffer : buffers )
      lengths.put(buffer.remaining());

    lengths.flip();
    return lengths;
  }

  static int getSize(final PointerBuffer lengths) {
    long size = 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.