|
||||||||||
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>
public abstract class CLImage<B extends Buffer>
Nested Class Summary | |
---|---|
protected static class |
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
|
protected CLImageFormat |
format
|
int |
height
|
long |
ID
The OpenCL object handle. |
int |
width
|
Fields inherited from class com.jogamp.opencl.CLMemory |
---|
FLAGS, size |
Constructor Summary | |
---|---|
protected |
CLImage(CLContext context,
B directBuffer,
CLImageFormat format,
CLImage.CLImageInfoAccessor accessor,
int width,
int height,
long id,
int flags)
|
protected |
CLImage(CLContext context,
B directBuffer,
CLImageFormat format,
int width,
int height,
long id,
int flags)
|
Method Summary | |
---|---|
void |
close()
Deprecated. This method is not intended to be called from client code. |
protected static CLImageFormat |
createUninitializedImageFormat()
|
CLContext |
getContext()
Returns the context for this OpenCL object. |
int |
getElementSize()
Returns the size of each element of the image memory object given by image. |
CLImageFormat |
getFormat()
Returns the image format descriptor specified when image was created. |
int |
getHeight()
Returns the height of this image in pixels. |
long |
getID()
Returns the OpenCL object handle |
CLPlatform |
getPlatform()
Returns the platform for this OpenCL object. |
int |
getRowPitch()
Returns the size in bytes of a row of elements of the image object given by image. |
int |
getWidth()
Returns width of this image in pixels. |
Methods inherited from class com.jogamp.opencl.CLMemory |
---|
cloneWith, equals, getBuffer, getCL, getCLCapacity, getCLSize, getConfig, getMapCount, getNIOCapacity, getNIOSize, getSizeImpl, hashCode, isHostPointerFlag, isReadOnly, isReadWrite, isWriteOnly, registerDestructorCallback, release, sizeOfBufferElem, toString, use |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected CLImageFormat format
public final int width
public final int height
public final long ID
protected CLContext context
protected final CL cl
Constructor Detail |
---|
protected CLImage(CLContext context, B directBuffer, CLImageFormat format, int width, int height, long id, int flags)
protected CLImage(CLContext context, B directBuffer, CLImageFormat format, CLImage.CLImageInfoAccessor accessor, int width, int height, long id, int flags)
Method Detail |
---|
protected static CLImageFormat createUninitializedImageFormat()
public CLImageFormat getFormat()
public int getElementSize()
CLImageFormat
descriptor.
public int getRowPitch()
public int getWidth()
public int getHeight()
@Deprecated public final void close()
close
in interface AutoCloseable
AutoCloseable
public CLContext getContext()
public CLPlatform getPlatform()
public long getID()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |