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