DataBuffer
G2DIndicesBuffer
, JoGLIndicesBuffer
public interface IndicesBuffer extends DataBuffer
Modifier and Type | Method | Description |
---|---|---|
void |
clear() |
|
java.nio.IntBuffer |
getData() |
Return the data.
|
void |
setData(int[] indices) |
Set the data
|
void |
setData(java.nio.IntBuffer indexBuffer) |
Set the data.
|
void |
setData(java.util.Collection<java.lang.Integer> indices) |
Set the data
|
getSize
void setData(int[] indices)
indices
- the new data.void setData(java.util.Collection<java.lang.Integer> indices)
indices
- the new data.void setData(java.nio.IntBuffer indexBuffer)
indexBuffer
- the new data.java.nio.IntBuffer getData()
DataBuffer
getData
in interface DataBuffer
void clear()
clear
in interface DataBuffer