Class VulkanLWJGLClearAttachments

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

public final class VulkanLWJGLClearAttachments extends Object
Functions to pack clear attachments.
  • Method Details

    • pack

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

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