Package org.lwjgl.opengles
Class OESMapbuffer
- java.lang.Object
-
- org.lwjgl.opengles.OESMapbuffer
-
public class OESMapbuffer extends java.lang.Object
Native bindings to the OES_mapbuffer extension.This extension adds to the vertex buffer object functionality supported by OpenGL ES 1.1 or ES 2.0 by allowing the entire data storage of a buffer object to be mapped into the client's address space.
-
-
Field Summary
Fields Modifier and Type Field and Description static int
GL_BUFFER_ACCESS_OES
Accepted by thevalue
parameter of GetBufferParameteriv.static int
GL_BUFFER_MAP_POINTER_OES
Accepted by thepname
parameter of GetBufferPointervOES.static int
GL_BUFFER_MAPPED_OES
Accepted by thevalue
parameter of GetBufferParameteriv.static int
GL_WRITE_ONLY_OES
Accepted by theaccess
parameter of MapBufferOES.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static long
glGetBufferPointerOES(int target, int pname)
static void
glGetBufferPointervOES(int target, int pname, PointerBuffer params)
static java.nio.ByteBuffer
glMapBufferOES(int target, int access)
static java.nio.ByteBuffer
glMapBufferOES(int target, int access, java.nio.ByteBuffer old_buffer)
static java.nio.ByteBuffer
glMapBufferOES(int target, int access, long length, java.nio.ByteBuffer old_buffer)
static boolean
glUnmapBufferOES(int target)
-
-
-
Field Detail
-
GL_WRITE_ONLY_OES
public static final int GL_WRITE_ONLY_OES
Accepted by theaccess
parameter of MapBufferOES.- See Also:
- Constant Field Values
-
GL_BUFFER_ACCESS_OES
public static final int GL_BUFFER_ACCESS_OES
Accepted by thevalue
parameter of GetBufferParameteriv.- See Also:
- Constant Field Values
-
GL_BUFFER_MAPPED_OES
public static final int GL_BUFFER_MAPPED_OES
Accepted by thevalue
parameter of GetBufferParameteriv.- See Also:
- Constant Field Values
-
GL_BUFFER_MAP_POINTER_OES
public static final int GL_BUFFER_MAP_POINTER_OES
Accepted by thepname
parameter of GetBufferPointervOES.- See Also:
- Constant Field Values
-
-
Method Detail
-
glMapBufferOES
public static java.nio.ByteBuffer glMapBufferOES(int target, int access)
-
glMapBufferOES
public static java.nio.ByteBuffer glMapBufferOES(int target, int access, java.nio.ByteBuffer old_buffer)
-
glMapBufferOES
public static java.nio.ByteBuffer glMapBufferOES(int target, int access, long length, java.nio.ByteBuffer old_buffer)
-
glUnmapBufferOES
public static boolean glUnmapBufferOES(int target)
-
glGetBufferPointervOES
public static void glGetBufferPointervOES(int target, int pname, PointerBuffer params)
-
glGetBufferPointerOES
public static long glGetBufferPointerOES(int target, int pname)
-
-