Package org.lwjgl.opencl
Class KHRImage2DFromBuffer
- java.lang.Object
-
- org.lwjgl.opencl.KHRImage2DFromBuffer
-
public final class KHRImage2DFromBuffer extends java.lang.Object
Native bindings to the khr_image2d_from_buffer extension.
-
-
Field Summary
Fields Modifier and Type Field Description static int
CL_DEVICE_IMAGE_BASE_ADDRESS_ALIGNMENT
CL_DEVICE_IMAGE_PITCH_ALIGNMENTAccepted as theparam_name
parameter ofGetDeviceInfo
.
-
-
-
Field Detail
-
CL_DEVICE_IMAGE_PITCH_ALIGNMENT
public static final int CL_DEVICE_IMAGE_PITCH_ALIGNMENT
Accepted as theparam_name
parameter ofGetDeviceInfo
.Returns the row pitch alignment size in pixels for images created from a buffer. The value returned must be a power of 2. If the device does not support images, this value should be 0.
- See Also:
- Constant Field Values
-
CL_DEVICE_IMAGE_BASE_ADDRESS_ALIGNMENT
public static final int CL_DEVICE_IMAGE_BASE_ADDRESS_ALIGNMENT
Accepted as theparam_name
parameter ofGetDeviceInfo
.This query should be used when an image is created from a buffer which was created using
MEM_USE_HOST_PTR
. The value returned must be a power of 2.This query specifies the minimum alignment in pixels of the
host_ptr
specified toCreateBuffer
. If the device does not support images, this value should be 0.- See Also:
- Constant Field Values
-
-