Class NVCopyBuffer


  • public class NVCopyBuffer
    extends java.lang.Object
    Native bindings to the NV_copy_buffer extension.

    This extension provides a mechanism to do an accelerated copy from one buffer object to another. This may be useful to load buffer objects in a "loading thread" while minimizing cost and synchronization effort in the "rendering thread."

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int GL_COPY_READ_BUFFER_NV
      GL_COPY_WRITE_BUFFER_NV
      Accepted by the target parameters of BindBuffer, BufferData, BufferSubData, MapBufferOES, UnmapBufferOES, GetBufferPointervOES, GetBufferParameteriv and CopyBufferSubDataNV.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void glCopyBufferSubDataNV​(int readTarget, int writeTarget, long readOffset, long writeOffset, long size)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • glCopyBufferSubDataNV

        public static void glCopyBufferSubDataNV​(int readTarget,
                                                 int writeTarget,
                                                 long readOffset,
                                                 long writeOffset,
                                                 long size)