Class VulkanLWJGLOffset3Ds

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

public final class VulkanLWJGLOffset3Ds extends Object
Functions to pack 3D shapes.
  • Method Details

    • pack

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

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