Package org.lwjgl.opengles
Class NVCopyBuffer
java.lang.Object
org.lwjgl.opengles.NVCopyBuffer
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
FieldsModifier and TypeFieldDescriptionstatic 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 TypeMethodDescriptionstatic void
glCopyBufferSubDataNV
(int readTarget, int writeTarget, long readOffset, long writeOffset, long size)
-
Field Details
-
GL_COPY_READ_BUFFER_NV
public static final int GL_COPY_READ_BUFFER_NVAccepted 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_NVAccepted 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)
-