Example usage for org.lwjgl.opengl GL15 glMapBuffer

List of usage examples for org.lwjgl.opengl GL15 glMapBuffer

Introduction

In this page you can find the example usage for org.lwjgl.opengl GL15 glMapBuffer.

Prototype

@Nullable
@NativeType("void *")
public static ByteBuffer glMapBuffer(@NativeType("GLenum") int target, @NativeType("GLenum") int access,
        @Nullable ByteBuffer old_buffer) 

Source Link

Document

Maps a buffer object's data store.

Usage

From source file:playn.java.JavaGL20.java

License:Apache License

@Override
public ByteBuffer glMapBuffer(int target, int access) {
    return GL15.glMapBuffer(target, access, null);
}

From source file:processing.lwjgl.PGL.java

License:Open Source License

public ByteBuffer mapBuffer(int target, int access) {
    return GL15.glMapBuffer(target, access, null);
}

From source file:processing.opengl.PLWJGL.java

License:Open Source License

@Override
public ByteBuffer mapBuffer(int target, int access) {
    return GL15.glMapBuffer(target, access, null);
}

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

License:Open Source License

public static ByteBuffer glMapBuffer(int a, int b, ByteBuffer c) {
    return GL15.glMapBuffer(a, b, c);
}