Class VulkanLWJGLBufferCopy

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

public final class VulkanLWJGLBufferCopy extends Object
Functions to pack buffer copies.
  • Method Details

    • pack

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

      public static org.lwjgl.vulkan.VkBufferCopy packInto(VulkanBufferCopy source, org.lwjgl.vulkan.VkBufferCopy target)
      Pack a structure.
      Parameters:
      source - The input structure
      target - The output structure
      Returns:
      A packed structure
    • packList

      public static org.lwjgl.vulkan.VkBufferCopy.Buffer packList(org.lwjgl.system.MemoryStack stack, List<VulkanBufferCopy> 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.VkBufferCopy.Buffer packListOrNull(org.lwjgl.system.MemoryStack stack, List<VulkanBufferCopy> infos) throws VulkanException
      Pack structures.
      Parameters:
      stack - A stack
      infos - A list of structure
      Returns:
      A list of packed structure
      Throws:
      VulkanException - On errors