public final class OESMapbuffer
extends java.lang.Object
Modifier and Type | Field and 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 and Description |
---|---|
static java.nio.ByteBuffer |
glGetBufferPointerOES(int target,
int pname,
java.nio.ByteBuffer old_buffer) |
static java.nio.ByteBuffer |
glGetBufferPointervOES(int target,
int pname,
long length,
java.nio.ByteBuffer old_buffer) |
static java.nio.ByteBuffer |
glMapBufferOES(int target,
int access,
java.nio.ByteBuffer old_buffer)
glMapBufferOES maps a GL buffer object to a ByteBuffer.
|
static java.nio.ByteBuffer |
glMapBufferOES(int target,
int access,
long length,
java.nio.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 java.nio.ByteBuffer glGetBufferPointerOES(int target, int pname, java.nio.ByteBuffer old_buffer)
public static java.nio.ByteBuffer glGetBufferPointervOES(int target, int pname, long length, java.nio.ByteBuffer old_buffer)
public static java.nio.ByteBuffer glMapBufferOES(int target, int access, java.nio.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 java.nio.ByteBuffer glMapBufferOES(int target, int access, long length, java.nio.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.