public static class Image.ImageMapping
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.nio.ByteBuffer |
buffer
The raw byte buffer
|
Event |
event
The event object used to detect when the memory is available.
|
long |
rowPitch
The row pitch in bytes.
|
long |
slicePitch
The slice pitch in bytes.
|
Constructor and Description |
---|
ImageMapping(java.nio.ByteBuffer buffer,
long rowPitch,
long slicePitch) |
ImageMapping(java.nio.ByteBuffer buffer,
long rowPitch,
long slicePitch,
Event event) |
public final java.nio.ByteBuffer buffer
public final long rowPitch
bytesPerElement * width
public final long slicePitch
rowPitch * height
public final Event event
public ImageMapping(java.nio.ByteBuffer buffer, long rowPitch, long slicePitch, Event event)
public ImageMapping(java.nio.ByteBuffer buffer, long rowPitch, long slicePitch)