Class VmaDefragmentationPassMoveInfo

  • All Implemented Interfaces:
    org.lwjgl.system.Pointer

    public class VmaDefragmentationPassMoveInfo
    extends org.lwjgl.system.Struct

    Layout

    
     struct VmaDefragmentationPassMoveInfo {
         VmaAllocation allocation;
         VkDeviceMemory memory;
         VkDeviceSize offset;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • ALLOCATION, MEMORY, OFFSET

        The struct member offsets.
    • Constructor Detail

      • VmaDefragmentationPassMoveInfo

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

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

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

        public long offset()
        Returns:
        the value of the offset field.
      • create

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

        public static long nallocation​(long struct)
        Unsafe version of allocation().
      • nmemory

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

        public static long noffset​(long struct)
        Unsafe version of offset().