Module com.io7m.jcoronado.lwjgl
Package com.io7m.jcoronado.lwjgl
Class VulkanLWJGLSpecializationInfos
- java.lang.Object
-
- com.io7m.jcoronado.lwjgl.VulkanLWJGLSpecializationInfos
-
public final class VulkanLWJGLSpecializationInfos extends java.lang.Object
Functions to pack pipeline shader stage create infos.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.lwjgl.vulkan.VkSpecializationInfo
pack(org.lwjgl.system.MemoryStack stack, VulkanSpecializationMap map)
Pack a structure.static org.lwjgl.vulkan.VkSpecializationInfo
packOptional(org.lwjgl.system.MemoryStack stack, java.util.Optional<VulkanSpecializationMap> map)
Pack a structure.
-
-
-
Method Detail
-
packOptional
public static org.lwjgl.vulkan.VkSpecializationInfo packOptional(org.lwjgl.system.MemoryStack stack, java.util.Optional<VulkanSpecializationMap> map)
Pack a structure.- Parameters:
stack
- A stackmap
- A structure- Returns:
- A packed structure (or null)
-
pack
public static org.lwjgl.vulkan.VkSpecializationInfo pack(org.lwjgl.system.MemoryStack stack, VulkanSpecializationMap map)
Pack a structure.- Parameters:
stack
- A stackmap
- A structure- Returns:
- A packed structure
-
-