Class VulkanLWJGLRect2Ds


  • public final class VulkanLWJGLRect2Ds
    extends java.lang.Object
    Functions to pack rectangles.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.lwjgl.vulkan.VkRect2D pack​(org.lwjgl.system.MemoryStack stack, VulkanRectangle2D info)
      Pack a structure.
      static org.lwjgl.vulkan.VkRect2D packInto​(org.lwjgl.system.MemoryStack stack, VulkanRectangle2D source, org.lwjgl.vulkan.VkRect2D target)
      Pack a structure.
      static org.lwjgl.vulkan.VkRect2D.Buffer packList​(org.lwjgl.system.MemoryStack stack, java.util.List<VulkanRectangle2D> infos)
      Pack structures.
      static org.lwjgl.vulkan.VkRect2D.Buffer packListOrNull​(org.lwjgl.system.MemoryStack stack, java.util.List<VulkanRectangle2D> infos)
      Pack structures.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • pack

        public static org.lwjgl.vulkan.VkRect2D pack​(org.lwjgl.system.MemoryStack stack,
                                                     VulkanRectangle2D info)
        Pack a structure.
        Parameters:
        stack - A stack
        info - A structure
        Returns:
        A packed structure
      • packInto

        public static org.lwjgl.vulkan.VkRect2D packInto​(org.lwjgl.system.MemoryStack stack,
                                                         VulkanRectangle2D source,
                                                         org.lwjgl.vulkan.VkRect2D target)
        Pack a structure.
        Parameters:
        stack - A stack
        source - The input structure
        target - The output structure
        Returns:
        A packed structure
      • packList

        public static org.lwjgl.vulkan.VkRect2D.Buffer packList​(org.lwjgl.system.MemoryStack stack,
                                                                java.util.List<VulkanRectangle2D> infos)
                                                         throws VulkanException
        Pack structures.
        Parameters:
        stack - A stack
        infos - A list of structure
        Returns:
        A list of packed structure
        Throws:
        VulkanException - On errors
      • packListOrNull

        public static org.lwjgl.vulkan.VkRect2D.Buffer packListOrNull​(org.lwjgl.system.MemoryStack stack,
                                                                      java.util.List<VulkanRectangle2D> infos)
                                                               throws VulkanException
        Pack structures.
        Parameters:
        stack - A stack
        infos - A list of structure
        Returns:
        A list of packed structure
        Throws:
        VulkanException - On errors