Class VulkanLWJGLOffset2Ds

java.lang.Object
com.io7m.jcoronado.lwjgl.internal.VulkanLWJGLOffset2Ds

public final class VulkanLWJGLOffset2Ds extends Object
Functions to pack rectangles.
  • Method Details

    • pack

      public static org.lwjgl.vulkan.VkOffset2D pack(org.lwjgl.system.MemoryStack stack, VulkanOffset2D offset)
      Pack a structure.
      Parameters:
      stack - A stack
      offset - A structure
      Returns:
      A packed structure
    • packList

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

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