Class VkImageFormatProperties

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • MAXEXTENT, MAXMIPLEVELS, MAXARRAYLAYERS, SAMPLECOUNTS, MAXRESOURCESIZE

        The struct member offsets.
    • Constructor Detail

      • VkImageFormatProperties

        public VkImageFormatProperties​(java.nio.ByteBuffer container)
        Creates a VkImageFormatProperties 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
      • maxMipLevels

        public int maxMipLevels()
        Returns the value of the maxMipLevels field.
      • maxArrayLayers

        public int maxArrayLayers()
        Returns the value of the maxArrayLayers field.
      • sampleCounts

        public int sampleCounts()
        Returns the value of the sampleCounts field.
      • maxResourceSize

        public long maxResourceSize()
        Returns the value of the maxResourceSize field.
      • malloc

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

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

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

        public static VkImageFormatProperties create​(long address)
        Returns a new VkImageFormatProperties instance for the specified memory address.
      • mallocStack

        public static VkImageFormatProperties mallocStack()
        Returns a new VkImageFormatProperties instance allocated on the thread-local MemoryStack.
      • callocStack

        public static VkImageFormatProperties callocStack()
        Returns a new VkImageFormatProperties instance allocated on the thread-local MemoryStack and initializes all its bits to zero.
      • mallocStack

        public static VkImageFormatProperties mallocStack​(org.lwjgl.system.MemoryStack stack)
        Returns a new VkImageFormatProperties instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
      • callocStack

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

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

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

        public static int nmaxMipLevels​(long struct)
        Unsafe version of maxMipLevels().
      • nmaxArrayLayers

        public static int nmaxArrayLayers​(long struct)
        Unsafe version of maxArrayLayers().
      • nsampleCounts

        public static int nsampleCounts​(long struct)
        Unsafe version of sampleCounts().
      • nmaxResourceSize

        public static long nmaxResourceSize​(long struct)
        Unsafe version of maxResourceSize().