|
||||||||||
| 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
org.scilab.forge.scirenderer.implementation.jogl.buffers.JoGLIndicesBuffer
public class JoGLIndicesBuffer
| Method Summary | |
|---|---|
protected java.nio.Buffer |
getByteBuffer()
Return the data as byte buffer. |
int |
getByteSize()
Return the size of this buffer in byte. |
java.nio.IntBuffer |
getData()
Return the data. |
protected int |
getGLBindDestination()
Return the OpenGl bind destination. |
int |
getSize()
Return the number of elements. |
void |
setData(java.util.Collection<java.lang.Integer> indices)
Set the data |
void |
setData(int[] indices)
Set the data |
void |
setData(java.nio.IntBuffer indexBuffer)
Set the data. |
| Methods inherited from class org.scilab.forge.scirenderer.implementation.jogl.buffers.JoGLDataBuffer |
|---|
dispose, getGlName, isDataUploaded, reload, setDataUploaded, synchronize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setData(int[] indices)
IndicesBuffer
setData in interface IndicesBufferindices - the new data.public void setData(java.util.Collection<java.lang.Integer> indices)
IndicesBuffer
setData in interface IndicesBufferindices - the new data.public void setData(java.nio.IntBuffer indexBuffer)
IndicesBuffer
setData in interface IndicesBufferindexBuffer - the new data.public int getSize()
DataBuffer
getSize in interface DataBufferpublic java.nio.IntBuffer getData()
DataBuffer
getData in interface DataBuffergetData in interface IndicesBufferpublic int getByteSize()
JoGLDataBuffer
getByteSize in class JoGLDataBufferprotected java.nio.Buffer getByteBuffer()
JoGLDataBuffer
getByteBuffer in class JoGLDataBufferprotected int getGLBindDestination()
JoGLDataBuffer
getGLBindDestination in class JoGLDataBuffer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||