Class VkMemoryDedicatedAllocateInfo

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, IMAGE, BUFFER

        The struct member offsets.
    • Constructor Detail

      • VkMemoryDedicatedAllocateInfo

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

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

        public long buffer()
        Returns the value of the buffer field.
      • set

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

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

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

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

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

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

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

        public static VkMemoryDedicatedAllocateInfo callocStack​(org.lwjgl.system.MemoryStack stack)
        Returns a new VkMemoryDedicatedAllocateInfo 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().
      • nbuffer

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

        public static void nbuffer​(long struct,
                                   long value)
        Unsafe version of buffer.