public class ARBBufferObject
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
GL_BUFFER_ACCESS_ARB
Accepted by the <pname> parameter of GetBufferParameterivARB:
|
static int |
GL_BUFFER_MAP_POINTER_ARB
Accepted by the <pname> parameter of GetBufferParameterivARB:
|
static int |
GL_BUFFER_MAPPED_ARB
Accepted by the <pname> parameter of GetBufferParameterivARB:
|
static int |
GL_BUFFER_SIZE_ARB
Accepted by the <pname> parameter of GetBufferParameterivARB:
|
static int |
GL_BUFFER_USAGE_ARB
Accepted by the <pname> parameter of GetBufferParameterivARB:
|
static int |
GL_DYNAMIC_COPY_ARB
Accepted by the <usage> parameter of BufferDataARB:
|
static int |
GL_DYNAMIC_DRAW_ARB
Accepted by the <usage> parameter of BufferDataARB:
|
static int |
GL_DYNAMIC_READ_ARB
Accepted by the <usage> parameter of BufferDataARB:
|
static int |
GL_READ_ONLY_ARB
Accepted by the <access> parameter of MapBufferARB:
|
static int |
GL_READ_WRITE_ARB
Accepted by the <access> parameter of MapBufferARB:
|
static int |
GL_STATIC_COPY_ARB
Accepted by the <usage> parameter of BufferDataARB:
|
static int |
GL_STATIC_DRAW_ARB
Accepted by the <usage> parameter of BufferDataARB:
|
static int |
GL_STATIC_READ_ARB
Accepted by the <usage> parameter of BufferDataARB:
|
static int |
GL_STREAM_COPY_ARB
Accepted by the <usage> parameter of BufferDataARB:
|
static int |
GL_STREAM_DRAW_ARB
Accepted by the <usage> parameter of BufferDataARB:
|
static int |
GL_STREAM_READ_ARB
Accepted by the <usage> parameter of BufferDataARB:
|
static int |
GL_WRITE_ONLY_ARB
Accepted by the <access> parameter of MapBufferARB:
|
Constructor and Description |
---|
ARBBufferObject() |
Modifier and Type | Method and Description |
---|---|
static void |
glBindBufferARB(int target,
int buffer) |
static void |
glBufferDataARB(int target,
java.nio.ByteBuffer data,
int usage) |
static void |
glBufferDataARB(int target,
java.nio.DoubleBuffer data,
int usage) |
static void |
glBufferDataARB(int target,
java.nio.FloatBuffer data,
int usage) |
static void |
glBufferDataARB(int target,
java.nio.IntBuffer data,
int usage) |
static void |
glBufferDataARB(int target,
long data_size,
int usage) |
static void |
glBufferDataARB(int target,
java.nio.ShortBuffer data,
int usage) |
static void |
glBufferSubDataARB(int target,
long offset,
java.nio.ByteBuffer data) |
static void |
glBufferSubDataARB(int target,
long offset,
java.nio.DoubleBuffer data) |
static void |
glBufferSubDataARB(int target,
long offset,
java.nio.FloatBuffer data) |
static void |
glBufferSubDataARB(int target,
long offset,
java.nio.IntBuffer data) |
static void |
glBufferSubDataARB(int target,
long offset,
java.nio.ShortBuffer data) |
static void |
glDeleteBuffersARB(int buffer)
Overloads glDeleteBuffersARB.
|
static void |
glDeleteBuffersARB(java.nio.IntBuffer buffers) |
static int |
glGenBuffersARB()
Overloads glGenBuffersARB.
|
static void |
glGenBuffersARB(java.nio.IntBuffer buffers) |
static int |
glGetBufferParameterARB(int target,
int pname)
Deprecated.
Will be removed in 3.0. Use
glGetBufferParameteriARB(int, int) instead. |
static void |
glGetBufferParameterARB(int target,
int pname,
java.nio.IntBuffer params) |
static int |
glGetBufferParameteriARB(int target,
int pname)
Overloads glGetBufferParameterivARB.
|
static java.nio.ByteBuffer |
glGetBufferPointerARB(int target,
int pname) |
static void |
glGetBufferSubDataARB(int target,
long offset,
java.nio.ByteBuffer data) |
static void |
glGetBufferSubDataARB(int target,
long offset,
java.nio.DoubleBuffer data) |
static void |
glGetBufferSubDataARB(int target,
long offset,
java.nio.FloatBuffer data) |
static void |
glGetBufferSubDataARB(int target,
long offset,
java.nio.IntBuffer data) |
static void |
glGetBufferSubDataARB(int target,
long offset,
java.nio.ShortBuffer data) |
static boolean |
glIsBufferARB(int buffer) |
static java.nio.ByteBuffer |
glMapBufferARB(int target,
int access,
java.nio.ByteBuffer old_buffer)
glMapBufferARB maps a GL buffer object to a ByteBuffer.
|
static java.nio.ByteBuffer |
glMapBufferARB(int target,
int access,
long length,
java.nio.ByteBuffer old_buffer)
glMapBufferARB maps a GL buffer object to a ByteBuffer.
|
static boolean |
glUnmapBufferARB(int target) |
public static final int GL_STREAM_DRAW_ARB
public static final int GL_STREAM_READ_ARB
public static final int GL_STREAM_COPY_ARB
public static final int GL_STATIC_DRAW_ARB
public static final int GL_STATIC_READ_ARB
public static final int GL_STATIC_COPY_ARB
public static final int GL_DYNAMIC_DRAW_ARB
public static final int GL_DYNAMIC_READ_ARB
public static final int GL_DYNAMIC_COPY_ARB
public static final int GL_READ_ONLY_ARB
public static final int GL_WRITE_ONLY_ARB
public static final int GL_READ_WRITE_ARB
public static final int GL_BUFFER_SIZE_ARB
public static final int GL_BUFFER_USAGE_ARB
public static final int GL_BUFFER_ACCESS_ARB
public static final int GL_BUFFER_MAPPED_ARB
public static final int GL_BUFFER_MAP_POINTER_ARB
public static void glBindBufferARB(int target, int buffer)
public static void glDeleteBuffersARB(java.nio.IntBuffer buffers)
public static void glDeleteBuffersARB(int buffer)
public static void glGenBuffersARB(java.nio.IntBuffer buffers)
public static int glGenBuffersARB()
public static boolean glIsBufferARB(int buffer)
public static void glBufferDataARB(int target, long data_size, int usage)
public static void glBufferDataARB(int target, java.nio.ByteBuffer data, int usage)
public static void glBufferDataARB(int target, java.nio.DoubleBuffer data, int usage)
public static void glBufferDataARB(int target, java.nio.FloatBuffer data, int usage)
public static void glBufferDataARB(int target, java.nio.IntBuffer data, int usage)
public static void glBufferDataARB(int target, java.nio.ShortBuffer data, int usage)
public static void glBufferSubDataARB(int target, long offset, java.nio.ByteBuffer data)
public static void glBufferSubDataARB(int target, long offset, java.nio.DoubleBuffer data)
public static void glBufferSubDataARB(int target, long offset, java.nio.FloatBuffer data)
public static void glBufferSubDataARB(int target, long offset, java.nio.IntBuffer data)
public static void glBufferSubDataARB(int target, long offset, java.nio.ShortBuffer data)
public static void glGetBufferSubDataARB(int target, long offset, java.nio.ByteBuffer data)
public static void glGetBufferSubDataARB(int target, long offset, java.nio.DoubleBuffer data)
public static void glGetBufferSubDataARB(int target, long offset, java.nio.FloatBuffer data)
public static void glGetBufferSubDataARB(int target, long offset, java.nio.IntBuffer data)
public static void glGetBufferSubDataARB(int target, long offset, java.nio.ShortBuffer data)
public static java.nio.ByteBuffer glMapBufferARB(int target, int access, java.nio.ByteBuffer old_buffer)
length
- the length of the mapped memory in bytes.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 glMapBufferARB(int target, int access, long length, java.nio.ByteBuffer old_buffer)
length
- the length of the mapped memory in bytes.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 glUnmapBufferARB(int target)
public static void glGetBufferParameterARB(int target, int pname, java.nio.IntBuffer params)
@Deprecated public static int glGetBufferParameterARB(int target, int pname)
glGetBufferParameteriARB(int, int)
instead.public static int glGetBufferParameteriARB(int target, int pname)
public static java.nio.ByteBuffer glGetBufferPointerARB(int target, int pname)
Copyright © 2002-2009 lwjgl.org. All Rights Reserved.