Class CLQueueFamilyPropertiesINTEL

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

    public class CLQueueFamilyPropertiesINTEL
    extends org.lwjgl.system.Struct
    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 Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • PROPERTIES, CAPABILITIES, COUNT, NAME

        The struct member offsets.
    • Constructor Detail

      • CLQueueFamilyPropertiesINTEL

        public CLQueueFamilyPropertiesINTEL​(java.nio.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 Detail

      • sizeof

        public int sizeof()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • 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 java.nio.ByteBuffer name()
        Returns:
        a ByteBuffer view of the name field.
      • nameString

        public java.lang.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.
      • 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
      • 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 java.nio.ByteBuffer nname​(long struct)
        Unsafe version of name().
      • nnameString

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