Class CLImageFormat

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class CLImageFormat extends Struct<CLImageFormat> implements NativeResource

 struct cl_image_format {
     cl_channel_order image_channel_order;
     cl_channel_type image_channel_data_type;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • IMAGE_CHANNEL_ORDER

      public static final int IMAGE_CHANNEL_ORDER
      The struct member offsets.
    • IMAGE_CHANNEL_DATA_TYPE

      public static final int IMAGE_CHANNEL_DATA_TYPE
      The struct member offsets.
  • Constructor Details

    • CLImageFormat

      public CLImageFormat(ByteBuffer container)
      Creates a CLImageFormat instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details