|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.scilab.forge.scirenderer.implementation.jogl.buffers.JoGLDataBuffer
public abstract class JoGLDataBuffer
Method Summary | |
---|---|
void |
dispose(GL gl)
Called when it's time to kill this buffer. |
protected abstract java.nio.Buffer |
getByteBuffer()
Return the data as byte buffer. |
abstract int |
getByteSize()
Return the size of this buffer in byte. |
protected abstract int |
getGLBindDestination()
Return the OpenGl bind destination. |
protected java.lang.Integer |
getGlName(GL gl)
Return the OpenGl name of this buffer. |
protected boolean |
isDataUploaded()
Return the data uploaded status. |
void |
reload()
Called to reload a buffer. |
protected void |
setDataUploaded(boolean dataUploaded)
Set the data uploaded status. |
protected void |
synchronize(GL gl)
Synchronize this buffer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.scilab.forge.scirenderer.buffers.DataBuffer |
---|
getData, getSize |
Method Detail |
---|
public void reload()
public void dispose(GL gl)
gl
- the OpenGl context.protected void synchronize(GL gl)
gl
- the OpenGl context where synchronization is done.protected boolean isDataUploaded()
protected void setDataUploaded(boolean dataUploaded)
dataUploaded
- the new data uploaded status.protected java.lang.Integer getGlName(GL gl)
gl
- the OpenGl context.
protected abstract java.nio.Buffer getByteBuffer()
protected abstract int getGLBindDestination()
public abstract int getByteSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |