public abstract class IndexBufferPutter
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | IndexBufferPutter.ByteIndexBufferPutter | 
| static class  | IndexBufferPutter.IntegerIndexBufferPutter | 
| static class  | IndexBufferPutter.ShortIndexBufferPutter | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract int | bytesPerIndex() | 
| static IndexBufferPutter | getDefault()Creates an integer-based index putter | 
| static IndexBufferPutter | getDefault(int maxIndex)Creates the most compact putter given a maximum index | 
| abstract void | putIndex(java.nio.ByteBuffer buff,
        int idx) | 
| void | putIndex(java.nio.ByteBuffer buff,
        int location,
        int idx) | 
| void | putIndices(java.nio.ByteBuffer buff,
          int... idxs) | 
| void | putIndices(java.nio.ByteBuffer buff,
          int[] idxs,
          int offset,
          int stride,
          int count) | 
| void | putIndices(java.nio.ByteBuffer buff,
          int location,
          int[] idxs) | 
| void | putIndices(java.nio.ByteBuffer buff,
          int location,
          int[] idxs,
          int offset,
          int stride,
          int count) | 
| void | putIndices(java.nio.ByteBuffer buff,
          int location,
          java.lang.Iterable<int[]> idxs) | 
| void | putIndices(java.nio.ByteBuffer buff,
          java.lang.Iterable<int[]> idxs) | 
| abstract GL3AttributeStorage | storage() | 
public abstract void putIndex(java.nio.ByteBuffer buff,
                              int idx)
public abstract int bytesPerIndex()
public abstract GL3AttributeStorage storage()
public void putIndices(java.nio.ByteBuffer buff,
                       int... idxs)
public void putIndices(java.nio.ByteBuffer buff,
                       int[] idxs,
                       int offset,
                       int stride,
                       int count)
public void putIndices(java.nio.ByteBuffer buff,
                       java.lang.Iterable<int[]> idxs)
public void putIndex(java.nio.ByteBuffer buff,
                     int location,
                     int idx)
public void putIndices(java.nio.ByteBuffer buff,
                       int location,
                       int[] idxs)
public void putIndices(java.nio.ByteBuffer buff,
                       int location,
                       int[] idxs,
                       int offset,
                       int stride,
                       int count)
public void putIndices(java.nio.ByteBuffer buff,
                       int location,
                       java.lang.Iterable<int[]> idxs)
public static IndexBufferPutter getDefault()
public static IndexBufferPutter getDefault(int maxIndex)