Package com.jme3.opencl
Class Image.ImageMapping
java.lang.Object
com.jme3.opencl.Image.ImageMapping
- Enclosing class:
- Image
Describes a mapped region of the image
-
Field Summary
Modifier and TypeFieldDescriptionfinal ByteBuffer
The raw byte bufferfinal Event
The event object used to detect when the memory is available.final long
The row pitch in bytes.final long
The slice pitch in bytes. -
Constructor Summary
ConstructorDescriptionImageMapping
(ByteBuffer buffer, long rowPitch, long slicePitch) ImageMapping
(ByteBuffer buffer, long rowPitch, long slicePitch, Event event) -
Method Summary
-
Field Details
-
buffer
The raw byte buffer -
rowPitch
public final long rowPitchThe row pitch in bytes. This value is at leastbytesPerElement * width
-
slicePitch
public final long slicePitchThe slice pitch in bytes. This value is at leastrowPitch * height
-
event
The event object used to detect when the memory is available.
-
-
Constructor Details
-
ImageMapping
-
ImageMapping
-