public final class OESMapbuffer extends Object
Modifier and Type | Field | Description |
---|---|---|
static int |
GL_BUFFER_ACCESS_OES |
Accepted by the <value> parameter of GetBufferParameteriv:
|
static int |
GL_BUFFER_MAP_POINTER_OES |
Accepted by the <pname> parameter of GetBufferPointervOES:
|
static int |
GL_BUFFER_MAPPED_OES |
Accepted by the <value> parameter of GetBufferParameteriv:
|
static int |
GL_WRITE_ONLY_OES |
Accepted by the <access> parameter of MapBufferOES:
|
Modifier and Type | Method | Description |
---|---|---|
static ByteBuffer |
glGetBufferPointerOES(int target,
int pname,
ByteBuffer old_buffer) |
|
static ByteBuffer |
glGetBufferPointervOES(int target,
int pname,
long length,
ByteBuffer old_buffer) |
|
static ByteBuffer |
glMapBufferOES(int target,
int access,
long length,
ByteBuffer old_buffer) |
glMapBufferOES maps a GL buffer object to a ByteBuffer.
|
static ByteBuffer |
glMapBufferOES(int target,
int access,
ByteBuffer old_buffer) |
glMapBufferOES maps a GL buffer object to a ByteBuffer.
|
static boolean |
glUnmapBufferOES(int target) |
public static final int GL_WRITE_ONLY_OES
public static final int GL_BUFFER_ACCESS_OES
public static final int GL_BUFFER_MAPPED_OES
public static final int GL_BUFFER_MAP_POINTER_OES
public static ByteBuffer glGetBufferPointerOES(int target, int pname, ByteBuffer old_buffer)
public static ByteBuffer glGetBufferPointervOES(int target, int pname, long length, ByteBuffer old_buffer)
public static ByteBuffer glMapBufferOES(int target, int access, ByteBuffer old_buffer)
old_buffer
- A ByteBuffer. If this argument points to the same address and has the same capacity as the new mapping, it will be returned and no new buffer will be created.
public static ByteBuffer glMapBufferOES(int target, int access, long length, ByteBuffer old_buffer)
old_buffer
- A ByteBuffer. If this argument points to the same address and has the same capacity as the new mapping, it will be returned and no new buffer will be created.
public static boolean glUnmapBufferOES(int target)
Copyright © 2002-2009 lwjgl.org. All Rights Reserved.