-
- All Known Implementing Classes:
VulkanClearAttachment
@Immutable public interface VulkanClearAttachmentType
Structure specifying a clear attachment.- See Also:
- "VkClearAttachment"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<VulkanImageAspectFlag>
aspectMask()
VulkanClearValueType
clearValue()
int
colorAttachment()
-
-
-
Method Detail
-
aspectMask
@Parameter java.util.Set<VulkanImageAspectFlag> aspectMask()
- Returns:
- A mask selecting the color, depth and/or stencil aspects of the attachment to be cleared.
-
colorAttachment
@Parameter 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
@Parameter VulkanClearValueType clearValue()
- Returns:
- The color or depth/stencil value to clear the attachment to
-
-