Class VkInputAttachmentAspectReference

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkInputAttachmentAspectReference>
org.lwjgl.vulkan.VkInputAttachmentAspectReference
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
Direct Known Subclasses:
VkInputAttachmentAspectReferenceKHR

public class VkInputAttachmentAspectReference extends org.lwjgl.system.Struct<VkInputAttachmentAspectReference> implements org.lwjgl.system.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();
 }