Class CLQueueFamilyPropertiesINTEL

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<CLQueueFamilyPropertiesINTEL>
org.lwjgl.opencl.CLQueueFamilyPropertiesINTEL
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class CLQueueFamilyPropertiesINTEL extends org.lwjgl.system.Struct<CLQueueFamilyPropertiesINTEL> implements org.lwjgl.system.NativeResource

Layout


 struct cl_queue_family_properties_intel {
     cl_command_queue_properties properties;
     cl_command_queue_capabilities_intel capabilities;
     cl_uint count;
     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.
    • PROPERTIES

      public static final int PROPERTIES
      The struct member offsets.
    • CAPABILITIES

      public static final int CAPABILITIES
      The struct member offsets.
    • COUNT

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

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

    • CLQueueFamilyPropertiesINTEL

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

    • sizeof

      public int sizeof()
      Specified by:
      sizeof in class org.lwjgl.system.Struct<CLQueueFamilyPropertiesINTEL>
    • properties

      public long properties()
      Returns:
      the value of the properties field.
    • capabilities

      public long capabilities()
      Returns:
      the value of the capabilities field.
    • count

      public int count()
      Returns:
      the value of the count field.
    • name

      public ByteBuffer name()
      Returns:
      a ByteBuffer view of the name field.
    • nameString

      public String nameString()
      Returns:
      the null-terminated string stored in the name field.
    • malloc

      public static CLQueueFamilyPropertiesINTEL malloc()
      Returns a new CLQueueFamilyPropertiesINTEL instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

      public static CLQueueFamilyPropertiesINTEL calloc()
      Returns a new CLQueueFamilyPropertiesINTEL instance allocated with memCalloc. The instance must be explicitly freed.
    • create

      public static CLQueueFamilyPropertiesINTEL create()
      Returns a new CLQueueFamilyPropertiesINTEL instance allocated with BufferUtils.
    • create

      public static CLQueueFamilyPropertiesINTEL create(long address)
      Returns a new CLQueueFamilyPropertiesINTEL instance for the specified memory address.
    • createSafe

      public static @Nullable CLQueueFamilyPropertiesINTEL createSafe(long address)
      Like create, but returns null if address is NULL.
    • malloc

      public static CLQueueFamilyPropertiesINTEL.Buffer malloc(int capacity)
      Returns a new CLQueueFamilyPropertiesINTEL.Buffer instance allocated with memAlloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • calloc

      public static CLQueueFamilyPropertiesINTEL.Buffer calloc(int capacity)
      Returns a new CLQueueFamilyPropertiesINTEL.Buffer instance allocated with memCalloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • create

      public static CLQueueFamilyPropertiesINTEL.Buffer create(int capacity)
      Returns a new CLQueueFamilyPropertiesINTEL.Buffer instance allocated with BufferUtils.
      Parameters:
      capacity - the buffer capacity
    • create

      public static CLQueueFamilyPropertiesINTEL.Buffer create(long address, int capacity)
      Create a CLQueueFamilyPropertiesINTEL.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      public static @Nullable CLQueueFamilyPropertiesINTEL.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • malloc

      public static CLQueueFamilyPropertiesINTEL malloc(org.lwjgl.system.MemoryStack stack)
      Returns a new CLQueueFamilyPropertiesINTEL instance allocated on the specified MemoryStack.
      Parameters:
      stack - the stack from which to allocate
    • calloc

      public static CLQueueFamilyPropertiesINTEL calloc(org.lwjgl.system.MemoryStack stack)
      Returns a new CLQueueFamilyPropertiesINTEL instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      stack - the stack from which to allocate
    • malloc

      public static CLQueueFamilyPropertiesINTEL.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new CLQueueFamilyPropertiesINTEL.Buffer instance allocated on the specified MemoryStack.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • calloc

      public static CLQueueFamilyPropertiesINTEL.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new CLQueueFamilyPropertiesINTEL.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • nproperties

      public static long nproperties(long struct)
      Unsafe version of properties().
    • ncapabilities

      public static long ncapabilities(long struct)
      Unsafe version of capabilities().
    • ncount

      public static int ncount(long struct)
      Unsafe version of count().
    • nname

      public static ByteBuffer nname(long struct)
      Unsafe version of name().
    • nnameString

      public static String nnameString(long struct)
      Unsafe version of nameString().