Example usage for org.lwjgl.opengl GL31 glCopyBufferSubData

List of usage examples for org.lwjgl.opengl GL31 glCopyBufferSubData

Introduction

In this page you can find the example usage for org.lwjgl.opengl GL31 glCopyBufferSubData.

Prototype

public static void glCopyBufferSubData(@NativeType("GLenum") int readTarget,
        @NativeType("GLenum") int writeTarget, @NativeType("GLintptr") long readOffset,
        @NativeType("GLintptr") long writeOffset, @NativeType("GLsizeiptr") long size) 

Source Link

Document

Copies all or part of one buffer object's data store to the data store of another buffer object.

Usage

From source file:com.badlogic.gdx.backends.jglfw.JglfwGL30.java

License:Apache License

@Override
public void glCopyBufferSubData(int readTarget, int writeTarget, int readOffset, int writeOffset, int size) {
    GL31.glCopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size);
}

From source file:io.root.gfx.glutils.GL.java

License:Apache License

public static void glCopyBufferSubData(int readTarget, int writeTarget, int readOffset, int writeOffset,
        int size) {
    GL31.glCopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size);
}

From source file:tk.ivybits.engine.gl.GL.java

License:Open Source License

public static void glCopyBufferSubData(int a, int b, long c, long d, long e) {
    GL31.glCopyBufferSubData(a, b, c, d, e);
}