public class CLImage2d<B extends Buffer> extends CLImage<B>
CLImage.CLImageInfoAccessor
CLMemory.GLObjectType, CLMemory.Map, CLMemory.Mem
clCapacity, elementSize, FLAGS, size
Modifier | Constructor and Description |
---|---|
protected |
CLImage2d(CLContext context,
B directBuffer,
CLImageFormat format,
CLImage.CLImageInfoAccessor accessor,
int width,
int height,
long id,
int flags) |
Modifier and Type | Method and Description |
---|---|
<T extends Buffer> |
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.
|
boolean |
isReleased()
Returns true if
CLResource.release() has been called. |
String |
toString() |
createUninitializedImageFormat, getElementSize, getFormat, getHeight, getRowPitch, getWidth
equals, getBuffer, getCL, getCLCapacity, getCLSize, getConfig, getMapCount, getNIOCapacity, getNIOSize, getSizeImpl, hashCode, initCLCapacity, isHostPointerFlag, isReadOnly, isReadWrite, isWriteOnly, registerDestructorCallback, release, use
getContext, getID, getPlatform
protected CLImage2d(CLContext context, B directBuffer, CLImageFormat format, CLImage.CLImageInfoAccessor accessor, int width, int height, long id, int flags)
public <T extends Buffer> CLImage2d<T> cloneWith(T directBuffer)
CLMemory
@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 AutoCloseable
AutoCloseable
public boolean isReleased()
CLResource
CLResource.release()
has been called.isReleased
in interface CLResource