public interface R2InstanceBatchedDynamicType extends R2InstanceBatchedType, R2DeletableType
Modifier and Type | Method and Description |
---|---|
void |
disableAll()
Disable rendering of all instances
|
void |
disableInstance(int id)
Disable rendering of the given instance.
|
int |
enabledCount() |
int |
enableInstance(R2TransformOrthogonalReadableType t)
Enable rendering of an instance with transform
t |
int |
maximumSize() |
arrayObject, renderCount, update, updateRequired
instanceID
delete, wrap
int maximumSize()
int enabledCount()
void disableAll()
int enableInstance(R2TransformOrthogonalReadableType t) throws R2ExceptionBatchIsFull
t
t
- The transform for the instanceR2ExceptionBatchIsFull
- If the batch cannot accept any more
instancesvoid disableInstance(int id)
id
- The index of the instanceCopyright © 2017 <code@io7m.com> http://io7m.com