| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final CLBuffer |
| Access | Constructor and Description |
|---|---|
| pack-priv | CLSubBuffer(final CLBuffer<B> parent, final int origin, final int size, final B directBuffer, final long id, final int flags)
|
| Modifier and Type | Method and Description |
|---|---|
| public CLSubBuffer | createSubBuffer(final int
The offset in buffer elements. origin, final int The size in buffer elements. size, final CLMemory.Overrides com. |
| public int | |
| public int | |
| public CLBuffer | |
| public boolean | |
| public void | release()
Overrides com. Implements com. |
| offset | back to summary |
|---|---|
| private final int offset | |
| parent | back to summary |
|---|---|
| private final CLBuffer<B> parent | |
| CLSubBuffer | back to summary |
|---|---|
| pack-priv CLSubBuffer(final CLBuffer<B> parent, final int origin, final int size, final B directBuffer, final long id, final int flags) | |
| createSubBuffer | back to summary |
|---|---|
| public CLSubBuffer Overrides com. Throws an UnsupportedOperationException since creating sub buffers from sub buffers is not allowed as of OpenCL 1.1.
| |
| getCLOffset | back to summary |
|---|---|
| public int getCLOffset() Returns the offset of this sub buffer to its parent in bytes. | |
| getOffset | back to summary |
|---|---|
| public int getOffset() Returns the offset of this sub buffer to its parent in buffer elements. | |
| getParent | back to summary |
|---|---|
| public CLBuffer Returns the parent buffer this buffer was created from. | |
| isSubBuffer | back to summary |
|---|---|
| public boolean isSubBuffer() Overrides com. Returns true.
| |
| release | back to summary |
|---|---|
| public void release() Overrides com. Implements com. Doc from com. Releases the OpenCL resource.
| |