Class KHRImage2DFromBuffer

java.lang.Object
org.lwjgl.opencl.KHRImage2DFromBuffer

public final class KHRImage2DFromBuffer extends Object
Native bindings to the khr_image2d_from_buffer extension.
  • Field Details

    • CL_DEVICE_IMAGE_PITCH_ALIGNMENT

      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.

      See Also:
    • CL_DEVICE_IMAGE_BASE_ADDRESS_ALIGNMENT

      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.

      See Also: