Class VulkanLWJGLBufferViewCreateInfos
java.lang.Object
com.io7m.jcoronado.lwjgl.internal.VulkanLWJGLBufferViewCreateInfos
Functions to pack buffer view creation info.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.lwjgl.vulkan.VkBufferViewCreateInfopack(org.lwjgl.system.MemoryStack stack, VulkanBufferViewCreateInfo info) Pack a structure.static org.lwjgl.vulkan.VkBufferViewCreateInfopackInto(VulkanBufferViewCreateInfo source, org.lwjgl.vulkan.VkBufferViewCreateInfo target) Pack a structure.static org.lwjgl.vulkan.VkBufferViewCreateInfo.BufferpackList(org.lwjgl.system.MemoryStack stack, List<VulkanBufferViewCreateInfo> infos) Pack structures.static org.lwjgl.vulkan.VkBufferViewCreateInfo.BufferpackListOrNull(org.lwjgl.system.MemoryStack stack, List<VulkanBufferViewCreateInfo> infos) Pack structures.
-
Method Details
-
pack
public static org.lwjgl.vulkan.VkBufferViewCreateInfo pack(org.lwjgl.system.MemoryStack stack, VulkanBufferViewCreateInfo 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.VkBufferViewCreateInfo packInto(VulkanBufferViewCreateInfo source, org.lwjgl.vulkan.VkBufferViewCreateInfo 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.VkBufferViewCreateInfo.Buffer packList(org.lwjgl.system.MemoryStack stack, List<VulkanBufferViewCreateInfo> 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.VkBufferViewCreateInfo.Buffer packListOrNull(org.lwjgl.system.MemoryStack stack, List<VulkanBufferViewCreateInfo> infos) throws VulkanException Pack structures.- Parameters:
stack- A stackinfos- A list of structures- Returns:
- A list of packed structure
- Throws:
VulkanException- On errors
-