IBuffer
All Implemented Interfaces: java.io.Closeable
public interface IBuffer extends Closeable
The base interface of all managed buffers used in rendering
Methods
Method | Description |
---|---|
getSize() | Size of this buffer in bytes |
loadData(byte[] data) | Load the data into current buffer |
getSize()
public abstract int getSize()
Size of this buffer in bytes
Returns: int
loadData(byte[] data)
public abstract void loadData(byte[] data)
Load the data into current buffer
Parameters:
Parameter | Type | Description |
---|---|---|
data | byte[] |