Interface VulkanClearAttachmentType
- All Known Implementing Classes:
VulkanClearAttachment
@Immutable
public interface VulkanClearAttachmentType
Structure specifying a clear attachment.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionint
-
Method Details
-
aspectMask
Set<VulkanImageAspectFlag> aspectMask()- Returns:
- A mask selecting the color, depth and/or stencil aspects of the attachment to be cleared.
-
colorAttachment
int colorAttachment()- Returns:
- 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()- Returns:
- The color or depth/stencil value to clear the attachment to
-