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."
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GL_COPY_READ_BUFFER_NV
Accepted by the target parameters of BindBuffer, BufferData, BufferSubData, MapBufferOES, UnmapBufferOES, GetBufferPointervOES, GetBufferParameteriv and CopyBufferSubDataNV. |
| public static final int | GL_COPY_WRITE_BUFFER_NV
Accepted by the target parameters of BindBuffer, BufferData, BufferSubData, MapBufferOES, UnmapBufferOES, GetBufferPointervOES, GetBufferParameteriv and CopyBufferSubDataNV. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static native void | glCopyBufferSubDataNV(int readTarget, int writeTarget, long readOffset, long writeOffset, long size)
|
| GL_COPY_READ_BUFFER_NV | back to summary |
|---|---|
| public static final int GL_COPY_READ_BUFFER_NV Accepted by the target parameters of BindBuffer, BufferData, BufferSubData, MapBufferOES, UnmapBufferOES, GetBufferPointervOES, GetBufferParameteriv and CopyBufferSubDataNV. | |
| GL_COPY_WRITE_BUFFER_NV | back to summary |
|---|---|
| public static final int GL_COPY_WRITE_BUFFER_NV Accepted by the target parameters of BindBuffer, BufferData, BufferSubData, MapBufferOES, UnmapBufferOES, GetBufferPointervOES, GetBufferParameteriv and CopyBufferSubDataNV. | |
| NVCopyBuffer | back to summary |
|---|---|
| protected NVCopyBuffer() | |
| glCopyBufferSubDataNV | back to summary |
|---|---|
| public static native void glCopyBufferSubDataNV(int readTarget, int writeTarget, long readOffset, long writeOffset, long size) | |