- java.lang.Object
-
- com.io7m.jcoronado.lwjgl.VulkanLWJGLImageSubresources
-
public final class VulkanLWJGLImageSubresources extends java.lang.Object
Functions to pack subresource ranges.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.lwjgl.vulkan.VkImageSubresource
pack(org.lwjgl.system.MemoryStack stack, VulkanImageSubresource info)
Pack a structure.static org.lwjgl.vulkan.VkImageSubresource
packInto(VulkanImageSubresource source, org.lwjgl.vulkan.VkImageSubresource target)
Pack a structure.static org.lwjgl.vulkan.VkImageSubresource.Buffer
packList(org.lwjgl.system.MemoryStack stack, java.util.List<VulkanImageSubresource> infos)
Pack structures.static org.lwjgl.vulkan.VkImageSubresource.Buffer
packListOrNull(org.lwjgl.system.MemoryStack stack, java.util.List<VulkanImageSubresource> infos)
Pack structures.
-
-
-
Method Detail
-
pack
public static org.lwjgl.vulkan.VkImageSubresource pack(org.lwjgl.system.MemoryStack stack, VulkanImageSubresource info)
Pack a structure.- Parameters:
stack
- A stackinfo
- A structure- Returns:
- A packed structure
-
packInto
public static org.lwjgl.vulkan.VkImageSubresource packInto(VulkanImageSubresource source, org.lwjgl.vulkan.VkImageSubresource target)
Pack a structure.- Parameters:
source
- The input structuretarget
- The output structure- Returns:
- A packed structure
-
packList
public static org.lwjgl.vulkan.VkImageSubresource.Buffer packList(org.lwjgl.system.MemoryStack stack, java.util.List<VulkanImageSubresource> 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.VkImageSubresource.Buffer packListOrNull(org.lwjgl.system.MemoryStack stack, java.util.List<VulkanImageSubresource> infos) throws VulkanException
Pack structures.- Parameters:
stack
- A stackinfos
- A list of structures- Returns:
- A list of packed structure
- Throws:
VulkanException
- On errors
-
-