
**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()](#getSize--) | Size of this buffer in bytes |
| [loadData(byte[] data)](#loadData-byte---) | Load the data into current buffer |
### getSize() {#getSize--}
```
public abstract int getSize()
```


Size of this buffer in bytes

**Returns:**
int - Size of this buffer in bytes
### loadData(byte[] data) {#loadData-byte---}
```
public abstract void loadData(byte[] data)
```


Load the data into current buffer

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| data | byte[] |  |

