org.lwjgl.opengl
Class ATIMapObjectBuffer

java.lang.Object
  extended by org.lwjgl.opengl.ATIMapObjectBuffer

public final class ATIMapObjectBuffer
extends java.lang.Object


Method Summary
static java.nio.ByteBuffer glMapObjectBufferATI(int buffer, long result_size, java.nio.ByteBuffer old_buffer)
          glMapObjectBufferATI maps a gl object buffer to a ByteBuffer.
static void glUnmapObjectBufferATI(int buffer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

glMapObjectBufferATI

public static java.nio.ByteBuffer glMapObjectBufferATI(int buffer,
                                                       long result_size,
                                                       java.nio.ByteBuffer old_buffer)
glMapObjectBufferATI maps a gl object buffer to a ByteBuffer. The oldBuffer argument can be null, in which case a new ByteBuffer will be created, pointing to the returned memory. If oldBuffer is non-null, it will be returned if it points to the same mapped memory, otherwise a new ByteBuffer is created.

Parameters:
result_size - The size of the buffer area.
old_buffer - A ByteBuffer. If this argument points to the same address and has the same capacity as the new mapping, it will be returned and no new buffer will be created.
Returns:
A ByteBuffer representing the mapped object buffer memory.

glUnmapObjectBufferATI

public static void glUnmapObjectBufferATI(int buffer)


Copyright © 2002-2006 lwjgl.org. All Rights Reserved.