Class VulkanLWJGLSamplerCreateInfos
java.lang.Object
com.io7m.jcoronado.lwjgl.internal.VulkanLWJGLSamplerCreateInfos
Functions to pack sampler creation info.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.lwjgl.vulkan.VkSamplerCreateInfo
pack
(org.lwjgl.system.MemoryStack stack, VulkanSamplerCreateInfo info) Pack a structure.static org.lwjgl.vulkan.VkSamplerCreateInfo
packInto
(VulkanSamplerCreateInfo source, org.lwjgl.vulkan.VkSamplerCreateInfo target) Pack a structure.static org.lwjgl.vulkan.VkSamplerCreateInfo.Buffer
packList
(org.lwjgl.system.MemoryStack stack, List<VulkanSamplerCreateInfo> infos) Pack structures.static org.lwjgl.vulkan.VkSamplerCreateInfo.Buffer
packListOrNull
(org.lwjgl.system.MemoryStack stack, List<VulkanSamplerCreateInfo> infos) Pack structures.
-
Method Details
-
pack
public static org.lwjgl.vulkan.VkSamplerCreateInfo pack(org.lwjgl.system.MemoryStack stack, VulkanSamplerCreateInfo info) Pack a structure.- Parameters:
stack
- A stackinfo
- A structure- Returns:
- A packed structure
-
packInto
public static org.lwjgl.vulkan.VkSamplerCreateInfo packInto(VulkanSamplerCreateInfo source, org.lwjgl.vulkan.VkSamplerCreateInfo target) Pack a structure.- Parameters:
source
- The input structuretarget
- The output structure- Returns:
- A packed structure
-
packList
public static org.lwjgl.vulkan.VkSamplerCreateInfo.Buffer packList(org.lwjgl.system.MemoryStack stack, List<VulkanSamplerCreateInfo> 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.VkSamplerCreateInfo.Buffer packListOrNull(org.lwjgl.system.MemoryStack stack, List<VulkanSamplerCreateInfo> infos) throws VulkanException Pack structures.- Parameters:
stack
- A stackinfos
- A list of structures- Returns:
- A list of packed structure
- Throws:
VulkanException
- On errors
-