Package org.lwjgl.opencl
Class KHRImage2DFromBuffer
java.lang.Object
org.lwjgl.opencl.KHRImage2DFromBuffer
Native bindings to the khr_image2d_from_buffer extension.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Accepted as theparam_name
parameter ofGetDeviceInfo
.static final int
Accepted as theparam_name
parameter ofGetDeviceInfo
. -
Method Summary
-
Field Details
-
CL_DEVICE_IMAGE_PITCH_ALIGNMENT
public static final int CL_DEVICE_IMAGE_PITCH_ALIGNMENTAccepted 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:
-
CL_DEVICE_IMAGE_BASE_ADDRESS_ALIGNMENT
public static final int CL_DEVICE_IMAGE_BASE_ADDRESS_ALIGNMENTAccepted 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:
-