public class CLGLImage2d<B extends Buffer> extends CLImage2d<B> implements CLGLObject
CLImage.CLImageInfoAccessorCLMemory.GLObjectType, CLMemory.Map, CLMemory.Mem| Modifier and Type | Field and Description |
|---|---|
int |
GLID
The OpenGL object handle.
|
clCapacity, elementSize, FLAGS, size| Modifier | Constructor and Description |
|---|---|
protected |
CLGLImage2d(CLContext context,
B directBuffer,
CLImageFormat format,
CLImage.CLImageInfoAccessor accessor,
int width,
int height,
long id,
int glid,
int flags) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
This method is not intended to be called from client code.
|
CLGLContext |
getContext()
Returns the context for this OpenCL object.
|
GLContext |
getGLContext()
Returns the OpenGL context of this shared object.
|
int |
getGLObjectID()
Returns the OpenGL object id of this shared object.
|
CLMemory.GLObjectType |
getGLObjectType()
Returns the OpenGL buffer type of this shared object.
|
boolean |
isReleased()
Returns true if
CLResource.release() has been called. |
createUninitializedImageFormat, getElementSize, getFormat, getHeight, getRowPitch, getWidthequals, getBuffer, getCL, getCLCapacity, getCLSize, getConfig, getMapCount, getNIOCapacity, getNIOSize, getSizeImpl, hashCode, initCLCapacity, isHostPointerFlag, isReadOnly, isReadWrite, isWriteOnly, registerDestructorCallback, release, usegetID, getPlatformclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetIDprotected CLGLImage2d(CLContext context, B directBuffer, CLImageFormat format, CLImage.CLImageInfoAccessor accessor, int width, int height, long id, int glid, int flags)
public CLMemory.GLObjectType getGLObjectType()
CLGLObjectgetGLObjectType in interface CLGLObjectpublic int getGLObjectID()
CLGLObjectgetGLObjectID in interface CLGLObjectpublic CLGLContext getContext()
CLObjectgetContext in interface CLGLObjectgetContext in class CLObjectpublic GLContext getGLContext()
CLGLObjectgetGLContext in interface CLGLObject@Deprecated public final void close()
AutoCloseable.
Might be remove as soon we have extension methods, but shall validate with Java 1.5 specs.close in interface AutoCloseableAutoCloseablepublic boolean isReleased()
CLResourceCLResource.release() has been called.isReleased in interface CLResource