public class LwjglImage
extends com.jme3.opencl.Image
| Constructor and Description |
|---|
LwjglImage(long image) |
| Modifier and Type | Method and Description |
|---|---|
com.jme3.opencl.Event |
acquireImageForSharingAsync(com.jme3.opencl.CommandQueue queue) |
void |
acquireImageForSharingNoEvent(com.jme3.opencl.CommandQueue queue) |
void |
copyTo(com.jme3.opencl.CommandQueue queue,
com.jme3.opencl.Image dest,
long[] srcOrigin,
long[] destOrigin,
long[] region) |
com.jme3.opencl.Event |
copyToAsync(com.jme3.opencl.CommandQueue queue,
com.jme3.opencl.Image dest,
long[] srcOrigin,
long[] destOrigin,
long[] region) |
com.jme3.opencl.Event |
copyToBufferAsync(com.jme3.opencl.CommandQueue queue,
com.jme3.opencl.Buffer dest,
long[] srcOrigin,
long[] srcRegion,
long destOffset) |
static int |
decodeImageChannelOrder(com.jme3.opencl.Image.ImageChannelOrder order) |
static int |
decodeImageChannelType(com.jme3.opencl.Image.ImageChannelType type) |
static int |
decodeImageType(com.jme3.opencl.Image.ImageType type) |
static com.jme3.opencl.Image.ImageChannelOrder |
encodeImageChannelOrder(int order) |
static com.jme3.opencl.Image.ImageChannelType |
encodeImageChannelType(int type) |
static com.jme3.opencl.Image.ImageType |
encodeImageType(int type) |
com.jme3.opencl.Event |
fillAsync(com.jme3.opencl.CommandQueue queue,
long[] origin,
long[] region,
com.jme3.math.ColorRGBA color) |
com.jme3.opencl.Event |
fillAsync(com.jme3.opencl.CommandQueue queue,
long[] origin,
long[] region,
int[] color) |
long |
getArraySize() |
long |
getDepth() |
int |
getElementSize() |
long |
getHeight() |
long |
getImage() |
com.jme3.opencl.Image.ImageFormat |
getImageFormat() |
com.jme3.opencl.Image.ImageType |
getImageType() |
long |
getRowPitch() |
long |
getSlicePitch() |
long |
getWidth() |
com.jme3.opencl.Image.ImageMapping |
map(com.jme3.opencl.CommandQueue queue,
long[] origin,
long[] region,
com.jme3.opencl.MappingAccess access) |
com.jme3.opencl.Image.ImageMapping |
mapAsync(com.jme3.opencl.CommandQueue queue,
long[] origin,
long[] region,
com.jme3.opencl.MappingAccess access) |
void |
readImage(com.jme3.opencl.CommandQueue queue,
java.nio.ByteBuffer dest,
long[] origin,
long[] region,
long rowPitch,
long slicePitch) |
com.jme3.opencl.Event |
readImageAsync(com.jme3.opencl.CommandQueue queue,
java.nio.ByteBuffer dest,
long[] origin,
long[] region,
long rowPitch,
long slicePitch) |
com.jme3.opencl.Event |
releaseImageForSharingAsync(com.jme3.opencl.CommandQueue queue) |
void |
releaseImageForSharingNoEvent(com.jme3.opencl.CommandQueue queue) |
void |
unmap(com.jme3.opencl.CommandQueue queue,
com.jme3.opencl.Image.ImageMapping mapping) |
void |
writeImage(com.jme3.opencl.CommandQueue queue,
java.nio.ByteBuffer dest,
long[] origin,
long[] region,
long rowPitch,
long slicePitch) |
com.jme3.opencl.Event |
writeImageAsync(com.jme3.opencl.CommandQueue queue,
java.nio.ByteBuffer dest,
long[] origin,
long[] region,
long rowPitch,
long slicePitch) |
public long getImage()
public static int decodeImageChannelOrder(com.jme3.opencl.Image.ImageChannelOrder order)
public static com.jme3.opencl.Image.ImageChannelOrder encodeImageChannelOrder(int order)
public static int decodeImageChannelType(com.jme3.opencl.Image.ImageChannelType type)
public static com.jme3.opencl.Image.ImageChannelType encodeImageChannelType(int type)
public static int decodeImageType(com.jme3.opencl.Image.ImageType type)
public static com.jme3.opencl.Image.ImageType encodeImageType(int type)
public long getWidth()
getWidth in class com.jme3.opencl.Imagepublic long getHeight()
getHeight in class com.jme3.opencl.Imagepublic long getDepth()
getDepth in class com.jme3.opencl.Imagepublic long getRowPitch()
getRowPitch in class com.jme3.opencl.Imagepublic long getSlicePitch()
getSlicePitch in class com.jme3.opencl.Imagepublic long getArraySize()
getArraySize in class com.jme3.opencl.Imagepublic com.jme3.opencl.Image.ImageFormat getImageFormat()
getImageFormat in class com.jme3.opencl.Imagepublic com.jme3.opencl.Image.ImageType getImageType()
getImageType in class com.jme3.opencl.Imagepublic int getElementSize()
getElementSize in class com.jme3.opencl.Imagepublic void readImage(com.jme3.opencl.CommandQueue queue,
java.nio.ByteBuffer dest,
long[] origin,
long[] region,
long rowPitch,
long slicePitch)
readImage in class com.jme3.opencl.Imagepublic com.jme3.opencl.Event readImageAsync(com.jme3.opencl.CommandQueue queue,
java.nio.ByteBuffer dest,
long[] origin,
long[] region,
long rowPitch,
long slicePitch)
readImageAsync in class com.jme3.opencl.Imagepublic void writeImage(com.jme3.opencl.CommandQueue queue,
java.nio.ByteBuffer dest,
long[] origin,
long[] region,
long rowPitch,
long slicePitch)
writeImage in class com.jme3.opencl.Imagepublic com.jme3.opencl.Event writeImageAsync(com.jme3.opencl.CommandQueue queue,
java.nio.ByteBuffer dest,
long[] origin,
long[] region,
long rowPitch,
long slicePitch)
writeImageAsync in class com.jme3.opencl.Imagepublic void copyTo(com.jme3.opencl.CommandQueue queue,
com.jme3.opencl.Image dest,
long[] srcOrigin,
long[] destOrigin,
long[] region)
copyTo in class com.jme3.opencl.Imagepublic com.jme3.opencl.Event copyToAsync(com.jme3.opencl.CommandQueue queue,
com.jme3.opencl.Image dest,
long[] srcOrigin,
long[] destOrigin,
long[] region)
copyToAsync in class com.jme3.opencl.Imagepublic com.jme3.opencl.Image.ImageMapping map(com.jme3.opencl.CommandQueue queue,
long[] origin,
long[] region,
com.jme3.opencl.MappingAccess access)
map in class com.jme3.opencl.Imagepublic com.jme3.opencl.Image.ImageMapping mapAsync(com.jme3.opencl.CommandQueue queue,
long[] origin,
long[] region,
com.jme3.opencl.MappingAccess access)
mapAsync in class com.jme3.opencl.Imagepublic void unmap(com.jme3.opencl.CommandQueue queue,
com.jme3.opencl.Image.ImageMapping mapping)
unmap in class com.jme3.opencl.Imagepublic com.jme3.opencl.Event fillAsync(com.jme3.opencl.CommandQueue queue,
long[] origin,
long[] region,
com.jme3.math.ColorRGBA color)
fillAsync in class com.jme3.opencl.Imagepublic com.jme3.opencl.Event fillAsync(com.jme3.opencl.CommandQueue queue,
long[] origin,
long[] region,
int[] color)
fillAsync in class com.jme3.opencl.Imagepublic com.jme3.opencl.Event copyToBufferAsync(com.jme3.opencl.CommandQueue queue,
com.jme3.opencl.Buffer dest,
long[] srcOrigin,
long[] srcRegion,
long destOffset)
copyToBufferAsync in class com.jme3.opencl.Imagepublic com.jme3.opencl.Event acquireImageForSharingAsync(com.jme3.opencl.CommandQueue queue)
acquireImageForSharingAsync in class com.jme3.opencl.Imagepublic void acquireImageForSharingNoEvent(com.jme3.opencl.CommandQueue queue)
acquireImageForSharingNoEvent in class com.jme3.opencl.Imagepublic com.jme3.opencl.Event releaseImageForSharingAsync(com.jme3.opencl.CommandQueue queue)
releaseImageForSharingAsync in class com.jme3.opencl.Imagepublic void releaseImageForSharingNoEvent(com.jme3.opencl.CommandQueue queue)
releaseImageForSharingNoEvent in class com.jme3.opencl.Image