Class VkInputAttachmentAspectReference

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer
Direct Known Subclasses:
VkInputAttachmentAspectReferenceKHR

public class VkInputAttachmentAspectReference extends Struct<VkInputAttachmentAspectReference> implements NativeResource
Structure specifying a subpass/input attachment pair and an aspect mask that can be read.
Description

This structure specifies an aspect mask for a specific input attachment of a specific subpass in the render pass.

subpass and inputAttachmentIndex index into the render pass as:


 pCreateInfo->pSubpasses[subpass].pInputAttachments[inputAttachmentIndex]
Valid Usage
  • aspectMask must not include IMAGE_ASPECT_METADATA_BIT
  • aspectMask must not include VK_IMAGE_ASPECT_MEMORY_PLANE_i_BIT_EXT for any index i
Valid Usage (Implicit)
  • aspectMask must be a valid combination of VkImageAspectFlagBits values
  • aspectMask must not be 0
See Also

VkRenderPassInputAttachmentAspectCreateInfo

Layout


 struct VkInputAttachmentAspectReference {
     uint32_t subpass();
     uint32_t inputAttachmentIndex();
     VkImageAspectFlags aspectMask();
 }