Class VkMemoryDedicatedRequirements

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, PREFERSDEDICATEDALLOCATION, REQUIRESDEDICATEDALLOCATION

        The struct member offsets.
    • Constructor Detail

      • VkMemoryDedicatedRequirements

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

        public boolean prefersDedicatedAllocation()
        Returns the value of the prefersDedicatedAllocation field.
      • requiresDedicatedAllocation

        public boolean requiresDedicatedAllocation()
        Returns the value of the requiresDedicatedAllocation field.
      • nsType

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

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

        public static int nprefersDedicatedAllocation​(long struct)
        Unsafe version of prefersDedicatedAllocation().
      • nrequiresDedicatedAllocation

        public static int nrequiresDedicatedAllocation​(long struct)
      • 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.