public final class ARBMapBufferRange
extends java.lang.Object
Modifier and Type | Field and 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 and Description |
---|---|
static void |
glFlushMappedBufferRange(int target,
long offset,
long length) |
static java.nio.ByteBuffer |
glMapBufferRange(int target,
long offset,
long length,
int access,
java.nio.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 java.nio.ByteBuffer glMapBufferRange(int target, long offset, long length, 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 void glFlushMappedBufferRange(int target, long offset, long length)
Copyright © 2002-2009 lwjgl.org. All Rights Reserved.