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 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 Description static long
glGetBufferPointerOES(int target, int pname)
static void
glGetBufferPointervOES(int target, int pname, org.lwjgl.PointerBuffer params)
static java.nio.ByteBuffer
glMapBufferOES(int target, int access)
static java.nio.ByteBuffer
glMapBufferOES(int target, int access, long length, java.nio.ByteBuffer old_buffer)
static java.nio.ByteBuffer
glMapBufferOES(int target, int access, java.nio.ByteBuffer old_buffer)
static boolean
glUnmapBufferOES(int target)
static void
nglGetBufferPointervOES(int target, int pname, long params)
static long
nglMapBufferOES(int target, int access)
-
-
-
Field Detail
-
GL_WRITE_ONLY_OES
Accepted by theaccess
parameter of MapBufferOES.
-
GL_BUFFER_ACCESS_OES, GL_BUFFER_MAPPED_OES
Accepted by thevalue
parameter of GetBufferParameteriv.
-
GL_BUFFER_MAP_POINTER_OES
Accepted by thepname
parameter of GetBufferPointervOES.
-
-
Method Detail
-
nglMapBufferOES
public static long nglMapBufferOES(int target, int access)
-
glMapBufferOES
@Nullable public static java.nio.ByteBuffer glMapBufferOES(int target, int access)
-
glMapBufferOES
@Nullable public static java.nio.ByteBuffer glMapBufferOES(int target, int access, @Nullable java.nio.ByteBuffer old_buffer)
-
glMapBufferOES
@Nullable public static java.nio.ByteBuffer glMapBufferOES(int target, int access, long length, @Nullable java.nio.ByteBuffer old_buffer)
-
glUnmapBufferOES
public static boolean glUnmapBufferOES(int target)
-
nglGetBufferPointervOES
public static void nglGetBufferPointervOES(int target, int pname, long params)
-
glGetBufferPointervOES
public static void glGetBufferPointervOES(int target, int pname, org.lwjgl.PointerBuffer params)
-
glGetBufferPointerOES
public static long glGetBufferPointerOES(int target, int pname)
-
-