|
||||||||||
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.CLBuffer<B>
com.jogamp.opencl.gl.CLGLBuffer<B>
public final class CLGLBuffer<B extends Buffer>
Shared buffer between OpenGL and OpenCL contexts.
Nested Class Summary |
---|
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.CLMemory |
---|
FLAGS, size |
Method Summary | ||
---|---|---|
|
cloneWith(T directBuffer)
Returns a new instance of CLMemory pointing to the same CLResource but using a different Buffer. |
|
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. |
|
String |
toString()
|
Methods inherited from class com.jogamp.opencl.CLBuffer |
---|
createSubBuffer, getSubBuffers, isSubBuffer, release |
Methods inherited from class com.jogamp.opencl.CLMemory |
---|
equals, getBuffer, getCL, getCLCapacity, getCLSize, getConfig, getMapCount, getNIOCapacity, getNIOSize, getSizeImpl, hashCode, isHostPointerFlag, isReadOnly, isReadWrite, isWriteOnly, registerDestructorCallback, sizeOfBufferElem, 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
Method Detail |
---|
public int getGLObjectID()
public CLMemory.GLObjectType getGLObjectType()
public CLGLContext getContext()
public GLContext getGLContext()
public <T extends Buffer> CLGLBuffer<T> cloneWith(T directBuffer)
CLMemory
cloneWith
in class CLBuffer<B extends Buffer>
public String toString()
toString
in class CLMemory<B extends Buffer>
@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 |