Class VulkanLWJGLDescriptorSetLayoutBindings

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

public final class VulkanLWJGLDescriptorSetLayoutBindings extends Object
Functions to pack descriptor set layout bindings.
  • Method Details

    • pack

      public static org.lwjgl.vulkan.VkDescriptorSetLayoutBinding pack(org.lwjgl.system.MemoryStack stack, VulkanDescriptorSetLayoutBinding binding) throws VulkanException
      Pack a value into a Vulkan structure.
      Parameters:
      stack - The stack used for allocations
      binding - The input value
      Returns:
      A packed Vulkan structure
      Throws:
      VulkanException - On errors
    • packInto

      public static org.lwjgl.vulkan.VkDescriptorSetLayoutBinding packInto(org.lwjgl.system.MemoryStack stack, VulkanDescriptorSetLayoutBinding source, org.lwjgl.vulkan.VkDescriptorSetLayoutBinding target) throws VulkanException
      Pack a value into a Vulkan structure.
      Parameters:
      stack - The stack used for allocations
      source - The input value
      target - The output structure
      Returns:
      A packed Vulkan structure
      Throws:
      VulkanException - On errors