Class CLNameVersionKHR

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class CLNameVersionKHR extends Struct<CLNameVersionKHR> implements NativeResource

 struct cl_name_version_khr {
     cl_version_khr version;
     char name[64];
 }
  • Field Details

    • SIZEOF

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

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

      public static final int VERSION
      The struct member offsets.
    • NAME

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

    • CLNameVersionKHR

      public CLNameVersionKHR(ByteBuffer container)
      Creates a CLNameVersionKHR 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