public class CLImage3d<B extends Buffer> extends CLImage<B>
CLImage.CLImageInfoAccessor
CLMemory.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, getWidth
equals, getBuffer, getCL, getCLCapacity, getCLSize, getConfig, getMapCount, getNIOCapacity, getNIOSize, getSizeImpl, hashCode, initCLCapacity, isHostPointerFlag, isReadOnly, isReadWrite, isWriteOnly, registerDestructorCallback, release, use
getContext, getID, getPlatform
protected 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)
CLMemory
public 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 AutoCloseable
AutoCloseable
public boolean isReleased()
CLResource
CLResource.release()
has been called.isReleased
in interface CLResource