Interface IndicesBuffer
-
- All Superinterfaces:
DataBuffer
- All Known Implementing Classes:
G2DIndicesBuffer,JoGLIndicesBuffer
public interface IndicesBuffer extends DataBuffer
- Author:
- Pierre Lando
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclear()java.nio.IntBuffergetData()Return the data.voidsetData(int[] indices)Set the datavoidsetData(java.nio.IntBuffer indexBuffer)Set the data.voidsetData(java.util.Collection<java.lang.Integer> indices)Set the data-
Methods inherited from interface org.scilab.forge.scirenderer.buffers.DataBuffer
getSize
-
-
-
-
Method Detail
-
setData
void setData(int[] indices)
Set the data- Parameters:
indices- the new data.
-
setData
void setData(java.util.Collection<java.lang.Integer> indices)
Set the data- Parameters:
indices- the new data.
-
setData
void setData(java.nio.IntBuffer indexBuffer)
Set the data.- Parameters:
indexBuffer- the new data.
-
getData
java.nio.IntBuffer getData()
Description copied from interface:DataBufferReturn the data.- Specified by:
getDatain interfaceDataBuffer- Returns:
- the data.
-
clear
void clear()
- Specified by:
clearin interfaceDataBuffer
-
-