Package org.lwjgl.opengles
Class OESMapbuffer
java.lang.Object
org.lwjgl.opengles.OESMapbuffer
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
Modifier and TypeFieldDescriptionstatic final int
Accepted by thevalue
parameter of GetBufferParameteriv.static final int
Accepted by thepname
parameter of GetBufferPointervOES.static final int
Accepted by thevalue
parameter of GetBufferParameteriv.static final int
Accepted by theaccess
parameter of MapBufferOES. -
Method Summary
Modifier and TypeMethodDescriptionstatic long
glGetBufferPointerOES
(int target, int pname) static void
glGetBufferPointervOES
(int target, int pname, PointerBuffer params) static ByteBuffer
glMapBufferOES
(int target, int access) static ByteBuffer
glMapBufferOES
(int target, int access, long length, ByteBuffer old_buffer) static ByteBuffer
glMapBufferOES
(int target, int access, 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 Details
-
GL_WRITE_ONLY_OES
public static final int GL_WRITE_ONLY_OESAccepted by theaccess
parameter of MapBufferOES.- See Also:
-
GL_BUFFER_ACCESS_OES
public static final int GL_BUFFER_ACCESS_OESAccepted by thevalue
parameter of GetBufferParameteriv.- See Also:
-
GL_BUFFER_MAPPED_OES
public static final int GL_BUFFER_MAPPED_OESAccepted by thevalue
parameter of GetBufferParameteriv.- See Also:
-
GL_BUFFER_MAP_POINTER_OES
public static final int GL_BUFFER_MAP_POINTER_OESAccepted by thepname
parameter of GetBufferPointervOES.- See Also:
-
-
Method Details
-
nglMapBufferOES
public static long nglMapBufferOES(int target, int access) -
glMapBufferOES
-
glMapBufferOES
@Nullable public static ByteBuffer glMapBufferOES(int target, int access, @Nullable ByteBuffer old_buffer) -
glMapBufferOES
@Nullable public static ByteBuffer glMapBufferOES(int target, int access, long length, @Nullable ByteBuffer old_buffer) -
glUnmapBufferOES
public static boolean glUnmapBufferOES(int target) -
nglGetBufferPointervOES
public static void nglGetBufferPointervOES(int target, int pname, long params) -
glGetBufferPointervOES
-
glGetBufferPointerOES
public static long glGetBufferPointerOES(int target, int pname)
-