public final class ARBMapBufferRange extends Object
Modifier and Type | Field | Description |
---|---|---|
static int |
GL_MAP_FLUSH_EXPLICIT_BIT |
Accepted by the <access> parameter of MapBufferRange:
|
static int |
GL_MAP_INVALIDATE_BUFFER_BIT |
Accepted by the <access> parameter of MapBufferRange:
|
static int |
GL_MAP_INVALIDATE_RANGE_BIT |
Accepted by the <access> parameter of MapBufferRange:
|
static int |
GL_MAP_READ_BIT |
Accepted by the <access> parameter of MapBufferRange:
|
static int |
GL_MAP_UNSYNCHRONIZED_BIT |
Accepted by the <access> parameter of MapBufferRange:
|
static int |
GL_MAP_WRITE_BIT |
Accepted by the <access> parameter of MapBufferRange:
|
Modifier and Type | Method | Description |
---|---|---|
static void |
glFlushMappedBufferRange(int target,
long offset,
long length) |
|
static ByteBuffer |
glMapBufferRange(int target,
long offset,
long length,
int access,
ByteBuffer old_buffer) |
glMapBufferRange maps a GL buffer object range to a ByteBuffer.
|
public static final int GL_MAP_READ_BIT
public static final int GL_MAP_WRITE_BIT
public static final int GL_MAP_INVALIDATE_RANGE_BIT
public static final int GL_MAP_INVALIDATE_BUFFER_BIT
public static final int GL_MAP_FLUSH_EXPLICIT_BIT
public static final int GL_MAP_UNSYNCHRONIZED_BIT
public static ByteBuffer glMapBufferRange(int target, long offset, long length, 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 void glFlushMappedBufferRange(int target, long offset, long length)
Copyright © 2002-2009 lwjgl.org. All Rights Reserved.