Class VulkanLWJGLDescriptorBufferInfos
java.lang.Object
com.io7m.jcoronado.lwjgl.internal.VulkanLWJGLDescriptorBufferInfos
Functions to pack descriptor infos.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.lwjgl.vulkan.VkDescriptorBufferInfopack(org.lwjgl.system.MemoryStack stack, VulkanDescriptorBufferInfo info) Pack a structure.static org.lwjgl.vulkan.VkDescriptorBufferInfopackInto(VulkanDescriptorBufferInfo source, org.lwjgl.vulkan.VkDescriptorBufferInfo target) Pack a structure.static org.lwjgl.vulkan.VkDescriptorBufferInfo.BufferpackList(org.lwjgl.system.MemoryStack stack, List<VulkanDescriptorBufferInfo> infos) Pack structures.static org.lwjgl.vulkan.VkDescriptorBufferInfo.BufferpackListOrNull(org.lwjgl.system.MemoryStack stack, List<VulkanDescriptorBufferInfo> infos) Pack structures.
-
Method Details
-
pack
public static org.lwjgl.vulkan.VkDescriptorBufferInfo pack(org.lwjgl.system.MemoryStack stack, VulkanDescriptorBufferInfo info) throws VulkanIncompatibleClassException Pack a structure.- Parameters:
stack- A stackinfo- A structure- Returns:
- A packed structure
- Throws:
VulkanIncompatibleClassException- On errors
-
packInto
public static org.lwjgl.vulkan.VkDescriptorBufferInfo packInto(VulkanDescriptorBufferInfo source, org.lwjgl.vulkan.VkDescriptorBufferInfo target) throws VulkanIncompatibleClassException Pack a structure.- Parameters:
source- The input structuretarget- The output structure- Returns:
- A packed structure
- Throws:
VulkanIncompatibleClassException- On errors
-
packList
public static org.lwjgl.vulkan.VkDescriptorBufferInfo.Buffer packList(org.lwjgl.system.MemoryStack stack, List<VulkanDescriptorBufferInfo> infos) throws VulkanException Pack structures.- Parameters:
stack- A stackinfos- A list of structure- Returns:
- A list of packed structure
- Throws:
VulkanException- On errors
-
packListOrNull
public static org.lwjgl.vulkan.VkDescriptorBufferInfo.Buffer packListOrNull(org.lwjgl.system.MemoryStack stack, List<VulkanDescriptorBufferInfo> infos) throws VulkanException Pack structures.- Parameters:
stack- A stackinfos- A list of structure- Returns:
- A list of packed structure
- Throws:
VulkanException- On errors
-