Interface VulkanClearAttachmentType

  • All Known Implementing Classes:

    public interface VulkanClearAttachmentType
    Structure specifying a clear attachment.
    See Also:
    • Method Detail

      • aspectMask

        java.util.Set<VulkanImageAspectFlag> aspectMask()
        A mask selecting the color, depth and/or stencil aspects of the attachment to be cleared.
      • colorAttachment

        int colorAttachment()
        A value that is only meaningful if VK_IMAGE_ASPECT_COLOR_BIT is set in aspectMask, in which case it is an index to the pColorAttachments array in the VkSubpassDescription structure of the current subpass which selects the color attachment to clear.
      • clearValue

        VulkanClearValueType clearValue()
        The color or depth/stencil value to clear the attachment to