Class VulkanLWJGLAttachmentDescriptions


  • public final class VulkanLWJGLAttachmentDescriptions
    extends java.lang.Object
    Functions to pack attachment descriptions.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.lwjgl.vulkan.VkAttachmentDescription packAttachment​(org.lwjgl.system.MemoryStack stack, VulkanAttachmentDescription attachment)
      Pack attachment.
      static org.lwjgl.vulkan.VkAttachmentDescription.Buffer packAttachments​(org.lwjgl.system.MemoryStack stack, java.util.List<VulkanAttachmentDescription> attachments)
      Pack attachments.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • packAttachments

        public static org.lwjgl.vulkan.VkAttachmentDescription.Buffer packAttachments​(org.lwjgl.system.MemoryStack stack,
                                                                                      java.util.List<VulkanAttachmentDescription> attachments)
        Pack attachments.
        Parameters:
        stack - A stack
        attachments - A list of attachments
        Returns:
        A packed buffer of attachments
      • packAttachment

        public static org.lwjgl.vulkan.VkAttachmentDescription packAttachment​(org.lwjgl.system.MemoryStack stack,
                                                                              VulkanAttachmentDescription attachment)
        Pack attachment.
        Parameters:
        stack - A stack
        attachment - An attachment
        Returns:
        A packed attachment