org.lwjgl.opengles.NVCopyBuffer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.lwjgl.opengles Show documentation
Show all versions of org.lwjgl.opengles Show documentation
LWJGL OSGi bundle (OpenGL ES bindings)
The newest version!
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.opengles;
import org.lwjgl.system.*;
/**
* 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."
*/
public class NVCopyBuffer {
static { GLES.initialize(); }
/**
* Accepted by the target parameters of BindBuffer, BufferData, BufferSubData, MapBufferOES, UnmapBufferOES, GetBufferPointervOES, GetBufferParameteriv and
* CopyBufferSubDataNV.
*/
public static final int
GL_COPY_READ_BUFFER_NV = 0x8F36,
GL_COPY_WRITE_BUFFER_NV = 0x8F37;
protected NVCopyBuffer() {
throw new UnsupportedOperationException();
}
// --- [ glCopyBufferSubDataNV ] ---
public static native void glCopyBufferSubDataNV(@NativeType("GLenum") int readTarget, @NativeType("GLenum") int writeTarget, @NativeType("GLintptr") long readOffset, @NativeType("GLintptr") long writeOffset, @NativeType("GLsizeiptr") long size);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy