Example usage for org.lwjgl.opengl GL30 glMapBufferRange

List of usage examples for org.lwjgl.opengl GL30 glMapBufferRange

Introduction

In this page you can find the example usage for org.lwjgl.opengl GL30 glMapBufferRange.

Prototype

@Nullable
@NativeType("void *")
public static ByteBuffer glMapBufferRange(@NativeType("GLenum") int target, @NativeType("GLintptr") long offset,
        @NativeType("GLsizeiptr") long length, @NativeType("GLbitfield") int access,
        @Nullable ByteBuffer old_buffer) 

Source Link

Document

Maps a section of a buffer object's data store.

Usage

From source file:processing.lwjgl.PGL.java

License:Open Source License

public ByteBuffer mapBufferRange(int target, int offset, int length, int access) {
    return GL30.glMapBufferRange(target, offset, length, access, null);
}

From source file:processing.opengl.PLWJGL.java

License:Open Source License

@Override
public ByteBuffer mapBufferRange(int target, int offset, int length, int access) {
    return GL30.glMapBufferRange(target, offset, length, access, null);
}

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

License:Open Source License

public static ByteBuffer glMapBufferRange(int a, long b, long c, int d, ByteBuffer e) {
    return GL30.glMapBufferRange(a, b, c, d, e);
}