de.jreality.scene.data
Class ByteBufferListSet

java.lang.Object
  extended by de.jreality.scene.data.DataListSet
      extended by de.jreality.scene.data.ByteBufferListSet
All Implemented Interfaces:
Serializable

public class ByteBufferListSet
extends DataListSet

DataListSet for converting an existing set into a set consisting of ByteBufferList replacements if possible. As we cannot convert dynamic size Arrays to ByteBufferLists, it should be possible, to simply add a readonly list.

Author:
weissman
See Also:
Serialized Form

Constructor Summary
ByteBufferListSet(int numDataItems)
           
 
Method Summary
 void addReadOnlyList(Attribute a, DataList list)
           
 
Methods inherited from class de.jreality.scene.data.DataListSet
addReadOnly, addWritable, addWritable, containsAttribute, get, getList, getListLength, getNumAttributes, getWritableList, readOnly, remove, reset, set, storedAttributes, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ByteBufferListSet

public ByteBufferListSet(int numDataItems)
Method Detail

addReadOnlyList

public void addReadOnlyList(Attribute a,
                            DataList list)