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
FieldsModifier and TypeFieldDescriptionfinal ByteBufferThe raw byte bufferfinal EventThe event object used to detect when the memory is available.final longThe row pitch in bytes.final longThe slice pitch in bytes. -
Constructor Summary
ConstructorsConstructorDescriptionImageMapping(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
-