Top Description Fields Constructors Methods
org.lwjgl.opencl

public final Class KHRImage2DFromBuffer

extends Object
Class Inheritance

Native bindings to the khr_image2d_from_buffer extension.

Field Summary

Modifier and TypeField and Description
public static final int
CL_DEVICE_IMAGE_BASE_ADDRESS_ALIGNMENT

Accepted as the param_name parameter of GetDeviceInfo.

public static final int
CL_DEVICE_IMAGE_PITCH_ALIGNMENT

Accepted as the param_name parameter of GetDeviceInfo.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CL_DEVICE_IMAGE_BASE_ADDRESS_ALIGNMENTback to summary
public static final int CL_DEVICE_IMAGE_BASE_ADDRESS_ALIGNMENT

Accepted as the param_name parameter of GetDeviceInfo.

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 to CreateBuffer. If the device does not support images, this value should be 0.

CL_DEVICE_IMAGE_PITCH_ALIGNMENTback to summary
public static final int CL_DEVICE_IMAGE_PITCH_ALIGNMENT

Accepted as the param_name parameter of GetDeviceInfo.

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.

Constructor Detail

KHRImage2DFromBufferback to summary
private KHRImage2DFromBuffer()