|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GLArrayDataEditable
The total number of bytes hold by the referenced buffer is: getComponentSize()* getComponentNumber() * getElementNumber()
Method Summary | |
---|---|
void |
destroy(GL gl)
|
void |
enableBuffer(GL gl,
boolean enable)
Enables/disables the buffer, which implies the client state, binding the VBO and transfering the data if not done yet. |
int |
getBufferUsage()
The VBO buffer usage, if it's an VBO, otherwise -1 |
boolean |
isBufferWritten()
Is the buffer written to the GPU ? |
void |
padding(int done)
|
void |
put(Buffer v)
|
void |
putb(byte v)
|
void |
putf(float v)
|
void |
puti(int v)
|
void |
puts(short v)
|
void |
putx(int v)
|
void |
reset()
|
void |
reset(GL gl)
|
void |
rewind()
|
void |
seal(boolean seal)
If seal is true, it disable write operations to the buffer. |
void |
seal(GL gl,
boolean seal)
If seal is true, it disable write operations to the buffer. |
boolean |
sealed()
|
void |
setBufferWritten(boolean written)
Marks the buffer written to the GPU |
void |
setEnableAlways(boolean always)
Affects the behavior of 'enableBuffer'. |
Methods inherited from interface javax.media.opengl.GLArrayData |
---|
getBuffer, getComponentNumber, getComponentSize, getComponentType, getElementNumber, getIndex, getLocation, getName, getNormalized, getOffset, getStride, getVBOName, isVBO, isVertexAttribute, setLocation, setName, toString |
Method Detail |
---|
boolean sealed()
int getBufferUsage()
boolean isBufferWritten()
void setBufferWritten(boolean written)
void destroy(GL gl)
destroy
in interface GLArrayData
void reset(GL gl)
void seal(GL gl, boolean seal)
seal(boolean)
void enableBuffer(GL gl, boolean enable)
setEnableAlways(boolean)
void setEnableAlways(boolean always)
enableBuffer(GL, boolean)
void reset()
void seal(boolean seal)
void rewind()
void padding(int done)
void put(Buffer v)
void putb(byte v)
void puts(short v)
void puti(int v)
void putx(int v)
void putf(float v)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |