public final class EXTMapBufferRange
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
GL_MAP_FLUSH_EXPLICIT_BIT_EXT
Accepted by the <access> parameter of MapBufferRangeEXT:
|
static int |
GL_MAP_INVALIDATE_BUFFER_BIT_EXT
Accepted by the <access> parameter of MapBufferRangeEXT:
|
static int |
GL_MAP_INVALIDATE_RANGE_BIT_EXT
Accepted by the <access> parameter of MapBufferRangeEXT:
|
static int |
GL_MAP_READ_BIT_EXT
Accepted by the <access> parameter of MapBufferRangeEXT:
|
static int |
GL_MAP_UNSYNCHRONIZED_BIT_EXT
Accepted by the <access> parameter of MapBufferRangeEXT:
|
static int |
GL_MAP_WRITE_BIT_EXT
Accepted by the <access> parameter of MapBufferRangeEXT:
|
Modifier and Type | Method and Description |
---|---|
static void |
glFlushMappedBufferRangeEXT(int target,
long offset,
long length) |
static java.nio.ByteBuffer |
glMapBufferRangeEXT(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_EXT
public static final int GL_MAP_WRITE_BIT_EXT
public static final int GL_MAP_INVALIDATE_RANGE_BIT_EXT
public static final int GL_MAP_INVALIDATE_BUFFER_BIT_EXT
public static final int GL_MAP_FLUSH_EXPLICIT_BIT_EXT
public static final int GL_MAP_UNSYNCHRONIZED_BIT_EXT
public static java.nio.ByteBuffer glMapBufferRangeEXT(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 glFlushMappedBufferRangeEXT(int target, long offset, long length)
Copyright © 2002-2009 lwjgl.org. All Rights Reserved.