public final class BufferObject extends Inlist<BufferObject>
Inlist.List<T extends Inlist<?>>| Modifier and Type | Method and Description |
|---|---|
void |
bind() |
static void |
checkBufferUsage(boolean force) |
static BufferObject |
get(int target,
int size) |
static boolean |
isMaxFill() |
void |
loadBufferData(java.nio.Buffer buf,
int newSize) |
static BufferObject |
release(BufferObject bo) |
void |
unbind() |
appendItem, appendList, last, next, prependRelative, push, remove, sizepublic void loadBufferData(java.nio.Buffer buf,
int newSize)
newSize - size required in bytespublic void bind()
public void unbind()
public static void checkBufferUsage(boolean force)
public static BufferObject get(int target, int size)
target - can be GL20.ARRAY_BUFFER or GL20.ELEMENT_ARRAY_BUFFERsize - requested size in bytes. optional - can be 0.public static BufferObject release(BufferObject bo)
public static boolean isMaxFill()