-
- All Known Implementing Classes:
VulkanSubpassDescription
@Immutable public interface VulkanSubpassDescriptionType
Structure specifying a subpass description.- See Also:
- "VkSubpassDescription"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<VulkanAttachmentReference>
colorAttachments()
java.util.Optional<VulkanAttachmentReference>
depthStencilAttachment()
java.util.Set<VulkanSubpassDescriptionFlag>
flags()
java.util.List<VulkanAttachmentReference>
inputAttachments()
VulkanPipelineBindPoint
pipelineBindPoint()
java.util.List<java.lang.Integer>
preserveAttachments()
java.util.List<VulkanAttachmentReference>
resolveAttachments()
-
-
-
Method Detail
-
flags
java.util.Set<VulkanSubpassDescriptionFlag> flags()
- Returns:
- Description flags
-
pipelineBindPoint
VulkanPipelineBindPoint pipelineBindPoint()
- Returns:
- The pipeline bind point specifying whether this is a graphics or compute subpass.
-
inputAttachments
java.util.List<VulkanAttachmentReference> inputAttachments()
- Returns:
- A list of the render pass’s attachments that can be read in the fragment shader stage during the subpass, and what layout each attachment will be in during the subpass
-
colorAttachments
java.util.List<VulkanAttachmentReference> colorAttachments()
- Returns:
- A list of the render pass’s attachments that will be used as color attachments in the subpass, and what layout each attachment will be in during the subpass.
-
resolveAttachments
java.util.List<VulkanAttachmentReference> resolveAttachments()
- Returns:
- A list of the the render pass’s attachments that are resolved to at the end of the subpass, and what layout each attachment will be in during the multisample resolve operation.
-
depthStencilAttachment
java.util.Optional<VulkanAttachmentReference> depthStencilAttachment()
- Returns:
- The attachment that will be used for depth/stencil data and the layout it will be in during the subpass.
-
preserveAttachments
java.util.List<java.lang.Integer> preserveAttachments()
- Returns:
- A list of render pass attachment indices describing the attachments that are not used by a subpass, but whose contents must be preserved throughout the subpass.
-
-