Package org.lwjgl

Examples of org.lwjgl.PointerBuffer.limit()


  protected PointerBuffer getSizesBuffer(final T object, final int param_name) {
    final int size = getInfoSizeArraySize(object, param_name);

    final PointerBuffer buffer = APIUtil.getBufferPointer(size);
    buffer.limit(size);

    getInfo(object, param_name, buffer.getBuffer(), null);

    return buffer;
  }
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.