Class VkImageCreateInfo

    • Field Detail

      • SIZEOF

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

      • VkImageCreateInfo

        public VkImageCreateInfo(java.nio.ByteBuffer container)
        Creates a VkImageCreateInfo 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()
        Description copied from class: Struct
        Returns the sizeof(struct).
        Specified by:
        sizeof in class Struct
      • sType

        public int sType()
        Returns the value of the sType field.
      • pNext

        public long pNext()
        Returns the value of the pNext field.
      • flags

        public int flags()
        Returns the value of the flags field.
      • imageType

        public int imageType()
        Returns the value of the imageType field.
      • format

        public int format()
        Returns the value of the format field.
      • mipLevels

        public int mipLevels()
        Returns the value of the mipLevels field.
      • arrayLayers

        public int arrayLayers()
        Returns the value of the arrayLayers field.
      • samples

        public int samples()
        Returns the value of the samples field.
      • tiling

        public int tiling()
        Returns the value of the tiling field.
      • usage

        public int usage()
        Returns the value of the usage field.
      • sharingMode

        public int sharingMode()
        Returns the value of the sharingMode field.
      • queueFamilyIndexCount

        public int queueFamilyIndexCount()
        Returns the value of the queueFamilyIndexCount field.
      • pQueueFamilyIndices

        public java.nio.IntBuffer pQueueFamilyIndices()
        Returns a IntBuffer view of the data pointed to by the pQueueFamilyIndices field.
      • initialLayout

        public int initialLayout()
        Returns the value of the initialLayout field.
      • sType

        public VkImageCreateInfo sType(int value)
        Sets the specified value to the sType field.
      • pNext

        public VkImageCreateInfo pNext(long value)
        Sets the specified value to the pNext field.
      • flags

        public VkImageCreateInfo flags(int value)
        Sets the specified value to the flags field.
      • imageType

        public VkImageCreateInfo imageType(int value)
        Sets the specified value to the imageType field.
      • format

        public VkImageCreateInfo format(int value)
        Sets the specified value to the format field.
      • mipLevels

        public VkImageCreateInfo mipLevels(int value)
        Sets the specified value to the mipLevels field.
      • arrayLayers

        public VkImageCreateInfo arrayLayers(int value)
        Sets the specified value to the arrayLayers field.
      • samples

        public VkImageCreateInfo samples(int value)
        Sets the specified value to the samples field.
      • tiling

        public VkImageCreateInfo tiling(int value)
        Sets the specified value to the tiling field.
      • usage

        public VkImageCreateInfo usage(int value)
        Sets the specified value to the usage field.
      • sharingMode

        public VkImageCreateInfo sharingMode(int value)
        Sets the specified value to the sharingMode field.
      • pQueueFamilyIndices

        public VkImageCreateInfo pQueueFamilyIndices(java.nio.IntBuffer value)
        Sets the address of the specified IntBuffer to the pQueueFamilyIndices field.
      • initialLayout

        public VkImageCreateInfo initialLayout(int value)
        Sets the specified value to the initialLayout field.
      • set

        public VkImageCreateInfo set(int sType,
                                     long pNext,
                                     int flags,
                                     int imageType,
                                     int format,
                                     VkExtent3D extent,
                                     int mipLevels,
                                     int arrayLayers,
                                     int samples,
                                     int tiling,
                                     int usage,
                                     int sharingMode,
                                     java.nio.IntBuffer pQueueFamilyIndices,
                                     int initialLayout)
        Initializes this struct with the specified values.
      • create

        public static VkImageCreateInfo create(long address)
        Returns a new VkImageCreateInfo instance for the specified memory address or null if the address is NULL.
      • validate

        public static void validate(long struct)
        Validates pointer members that should not be NULL.
        Parameters:
        struct - the struct to validate
      • validate

        public static void validate(long array,
                                    int count)
        Calls VkImageCreateInfo.validate(long) for each struct contained in the specified struct array.
        Parameters:
        array - the struct array to validate
        count - the number of structs in array