public class CLImage3d<B extends Buffer> extends CLImage<B>
CLImage.CLImageInfoAccessorCLMemory.GLObjectType, CLMemory.Map, CLMemory.Mem| Modifier and Type | Field and Description |
|---|---|
int |
depth |
clCapacity, elementSize, FLAGS, size| Modifier | Constructor and Description |
|---|---|
protected |
CLImage3d(CLContext context,
B directBuffer,
CLImageFormat format,
CLImage.CLImageInfoAccessor accessor,
int width,
int height,
int depth,
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.
|
int |
getDepth()
Returns the depth of this image in pixels.
|
int |
getSlicePitch()
Returns the size in bytes of a 2D slice of this 3D image.
|
boolean |
isReleased()
Returns true if
CLResource.release() has been called. |
String |
toString() |
createUninitializedImageFormat, getElementSize, getFormat, getHeight, getRowPitch, getWidthequals, getBuffer, getCL, getCLCapacity, getCLSize, getConfig, getMapCount, getNIOCapacity, getNIOSize, getSizeImpl, hashCode, initCLCapacity, isHostPointerFlag, isReadOnly, isReadWrite, isWriteOnly, registerDestructorCallback, release, usegetContext, getID, getPlatformprotected CLImage3d(CLContext context, B directBuffer, CLImageFormat format, CLImage.CLImageInfoAccessor accessor, int width, int height, int depth, long id, int flags)
public <T extends Buffer> CLImage3d<T> cloneWith(T directBuffer)
CLMemorypublic int getSlicePitch()
public int getDepth()
@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