Class VkBindImageMemoryInfo

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, IMAGE, MEMORY, MEMORYOFFSET

        The struct member offsets.
    • Constructor Detail

      • VkBindImageMemoryInfo

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

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

        public long memory()
        Returns the value of the memory field.
      • memoryOffset

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

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

        public VkBindImageMemoryInfo image​(long value)
        Sets the specified value to the image field.
      • memory

        public VkBindImageMemoryInfo memory​(long value)
        Sets the specified value to the memory field.
      • memoryOffset

        public VkBindImageMemoryInfo memoryOffset​(long value)
        Sets the specified value to the memoryOffset field.
      • set

        public VkBindImageMemoryInfo set​(int sType,
                                         long pNext,
                                         long image,
                                         long memory,
                                         long memoryOffset)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

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

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

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

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

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

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

        public static long nmemory​(long struct)
        Unsafe version of memory().
      • nmemoryOffset

        public static long nmemoryOffset​(long struct)
        Unsafe version of memoryOffset().
      • 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.
      • nimage

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

        public static void nmemory​(long struct,
                                   long value)
        Unsafe version of memory.
      • nmemoryOffset

        public static void nmemoryOffset​(long struct,
                                         long value)
        Unsafe version of memoryOffset.