Class NVCopyBuffer

java.lang.Object
org.lwjgl.opengles.NVCopyBuffer

public class NVCopyBuffer extends 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 final int
    Accepted by the target parameters of BindBuffer, BufferData, BufferSubData, MapBufferOES, UnmapBufferOES, GetBufferPointervOES, GetBufferParameteriv and CopyBufferSubDataNV.
    static final int
    Accepted by the target parameters of BindBuffer, BufferData, BufferSubData, MapBufferOES, UnmapBufferOES, GetBufferPointervOES, GetBufferParameteriv and CopyBufferSubDataNV.
  • Method Summary

    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
  • Field Details

    • GL_COPY_READ_BUFFER_NV

      public static final int GL_COPY_READ_BUFFER_NV
      Accepted by the target parameters of BindBuffer, BufferData, BufferSubData, MapBufferOES, UnmapBufferOES, GetBufferPointervOES, GetBufferParameteriv and CopyBufferSubDataNV.
      See Also:
    • GL_COPY_WRITE_BUFFER_NV

      public static final int GL_COPY_WRITE_BUFFER_NV
      Accepted by the target parameters of BindBuffer, BufferData, BufferSubData, MapBufferOES, UnmapBufferOES, GetBufferPointervOES, GetBufferParameteriv and CopyBufferSubDataNV.
      See Also:
  • Method Details

    • glCopyBufferSubDataNV

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