|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jogamp.opencl.CLMemory<B>
com.jogamp.opencl.CLImage<B>
com.jogamp.opencl.CLImage2d<B>
com.jogamp.opencl.gl.CLGLImage2d<B>
public class CLGLImage2d<B extends Buffer>
2D OpenCL image representing an OpenGL renderbuffer.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.jogamp.opencl.CLImage |
---|
CLImage.CLImageInfoAccessor |
Nested classes/interfaces inherited from class com.jogamp.opencl.CLMemory |
---|
CLMemory.GLObjectType, CLMemory.Map, CLMemory.Mem |
Field Summary | |
---|---|
protected CL |
cl
|
protected CLContext |
context
|
int |
GLID
The OpenGL object handle. |
long |
ID
The OpenCL object handle. |
Fields inherited from class com.jogamp.opencl.CLImage |
---|
format, height, width |
Fields inherited from class com.jogamp.opencl.CLMemory |
---|
clCapacity, elementSize, FLAGS, size |
Constructor Summary | |
---|---|
protected |
CLGLImage2d(CLContext context,
B directBuffer,
CLImageFormat format,
CLImage.CLImageInfoAccessor accessor,
int width,
int height,
long id,
int glid,
int flags)
|
Method Summary | |
---|---|
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. |
long |
getID()
Returns the OpenCL object handle |
CLPlatform |
getPlatform()
Returns the platform for this OpenCL object. |
Methods inherited from class com.jogamp.opencl.CLImage2d |
---|
cloneWith, toString |
Methods inherited from class com.jogamp.opencl.CLImage |
---|
createUninitializedImageFormat, getElementSize, getFormat, getHeight, getRowPitch, getWidth |
Methods inherited from class com.jogamp.opencl.CLMemory |
---|
equals, getBuffer, getCL, getCLCapacity, getCLSize, getConfig, getMapCount, getNIOCapacity, getNIOSize, getSizeImpl, hashCode, isHostPointerFlag, isReadOnly, isReadWrite, isWriteOnly, registerDestructorCallback, release, use |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final int GLID
public final long ID
protected CLContext context
protected final CL cl
Constructor Detail |
---|
protected CLGLImage2d(CLContext context, B directBuffer, CLImageFormat format, CLImage.CLImageInfoAccessor accessor, int width, int height, long id, int glid, int flags)
Method Detail |
---|
public CLMemory.GLObjectType getGLObjectType()
public int getGLObjectID()
public CLGLContext getContext()
public GLContext getGLContext()
@Deprecated public final void close()
close
in interface AutoCloseable
AutoCloseable
public CLPlatform getPlatform()
public long getID()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |