Class VkImageViewCreateInfo

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, FLAGS, IMAGE, VIEWTYPE, FORMAT, COMPONENTS, SUBRESOURCERANGE

        The struct member offsets.
    • Constructor Detail

      • VkImageViewCreateInfo

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

        public long image()
        Returns the value of the image field.
      • viewType

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

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

        public VkImageViewCreateInfo pNext​(long value)
        Sets the specified value to the pNext field.
      • image

        public VkImageViewCreateInfo image​(long value)
        Sets the specified value to the image field.
      • viewType

        public VkImageViewCreateInfo viewType​(int value)
        Sets the specified value to the viewType field.
      • format

        public VkImageViewCreateInfo format​(int value)
        Sets the specified value to the format field.
      • malloc

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

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

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

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

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

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

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

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

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

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

        public static VkImageViewCreateInfo.Buffer callocStack​(int capacity,
                                                               org.lwjgl.system.MemoryStack stack)
        Returns a new VkImageViewCreateInfo.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
      • nsType

        public static int nsType​(long struct)
        Unsafe version of sType().
      • npNext

        public static long npNext​(long struct)
        Unsafe version of pNext().
      • nflags

        public static int nflags​(long struct)
        Unsafe version of flags().
      • nimage

        public static long nimage​(long struct)
        Unsafe version of image().
      • nviewType

        public static int nviewType​(long struct)
        Unsafe version of viewType().
      • nformat

        public static int nformat​(long struct)
        Unsafe version of format().
      • nsType

        public static void nsType​(long struct,
                                  int value)
        Unsafe version of sType.
      • npNext

        public static void npNext​(long struct,
                                  long value)
        Unsafe version of pNext.
      • nflags

        public static void nflags​(long struct,
                                  int value)
        Unsafe version of flags.
      • nimage

        public static void nimage​(long struct,
                                  long value)
        Unsafe version of image.
      • nviewType

        public static void nviewType​(long struct,
                                     int value)
        Unsafe version of viewType.
      • nformat

        public static void nformat​(long struct,
                                   int value)
        Unsafe version of format.