| Modifier and Type | Field and Description |
|---|---|
| public final int | GLID
The OpenGL object handle. |
| Access | Constructor and Description |
|---|---|
| private | CLGLBuffer(final CLContext context, final B directBuffer, final long id, final int glObject, final long size, final int flags)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static <B extends Buffer> void | |
| public <T extends Buffer> CLGLBuffer | cloneWith(final T directBuffer)
Overrides com. |
| pack-priv static <B extends Buffer> CLGLBuffer | |
| public CLGLContext | getContext()
Overrides com. Implements com. |
| public GLContext | getGLContext()
Implements com. |
| public int | getGLObjectID()
Implements com. |
| public CLMemory. | getGLObjectType()
Implements com. |
| public String | toString()
Overrides com. |
| public void |
| GLID | back to summary |
|---|---|
| public final int GLID The OpenGL object handle. | |
| CLGLBuffer | back to summary |
|---|---|
| private CLGLBuffer(final CLContext context, final B directBuffer, final long id, final int glObject, final long size, final int flags) | |
| checkBuffer | back to summary |
|---|---|
| pack-priv static <B extends Buffer> void checkBuffer(final B directBuffer, final int flags) throws IllegalArgumentException | |
| cloneWith | back to summary |
|---|---|
| public <T extends Buffer> CLGLBuffer Overrides com. Doc from com. Returns a new instance of CLMemory pointing to the same CLResource but using a different Buffer.
| |
| create | back to summary |
|---|---|
| pack-priv static <B extends Buffer> CLGLBuffer | |
| getContext | back to summary |
|---|---|
| public CLGLContext getContext() Overrides com. Implements com. Doc from com. Returns the OpenCL context of this shared object.
| |
| getGLContext | back to summary |
|---|---|
| public GLContext getGLContext() Implements com. Doc from com. Returns the OpenGL context of this shared object.
| |
| getGLObjectID | back to summary |
|---|---|
| public int getGLObjectID() Implements com. Doc from com. Returns the OpenGL object id of this shared object.
| |
| getGLObjectType | back to summary |
|---|---|
| public CLMemory. Implements com. Doc from com. Returns the OpenGL buffer type of this shared object.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides com. Doc from java. Returns a string representation of the object. | |
| updateSize | back to summary |
|---|---|
| public void updateSize() Updates the size of this CLGLBuffer by querying OpenGL.
This method may only be called if this memory object has been acquired by calling
| |