Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 stack
        map - 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 stack
        map - A structure
        Returns:
        A packed structure