Class VulkanLWJGLMemoryBarriers

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

public final class VulkanLWJGLMemoryBarriers extends Object
Functions to pack barriers.
  • Method Details

    • pack

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

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

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