[{"data":1,"prerenderedAt":552},["ShallowReactive",2],{"8tBVM35AvW":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":551,"_id":4},"VkInputAttachmentAspectReference","Structure specifying a subpass/input attachment pair and an aspect mask that can: be read.","VK_VERSION_1_1","structs",[],{"type":10,"children":11,"toc":549},"root",[12,28,227,232,297,365,370,387,425,488,543],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","The ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":4},{"type":18,"value":27}," structure is defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,112],{"type":13,"tag":33,"props":34,"children":40},"pre",{"className":35,"code":36,"filename":37,"language":38,"meta":39,"style":39},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkInputAttachmentAspectReference {\n uint32_t subpass;\n uint32_t inputAttachmentIndex;\n VkImageAspectFlags aspectMask;\n} VkInputAttachmentAspectReference;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,81,94,103],{"type":13,"tag":45,"props":46,"children":49},"span",{"class":47,"line":48},"line",1,[50,56,61],{"type":13,"tag":45,"props":51,"children":53},{"style":52},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[54],{"type":18,"value":55},"typedef",{"type":13,"tag":45,"props":57,"children":58},{"style":52},[59],{"type":18,"value":60}," struct",{"type":13,"tag":45,"props":62,"children":64},{"style":63},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[65],{"type":18,"value":66}," VkInputAttachmentAspectReference {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71,76],{"type":13,"tag":45,"props":72,"children":73},{"style":52},[74],{"type":18,"value":75}," uint32_t",{"type":13,"tag":45,"props":77,"children":78},{"style":63},[79],{"type":18,"value":80}," subpass;\n",{"type":13,"tag":45,"props":82,"children":84},{"class":47,"line":83},3,[85,89],{"type":13,"tag":45,"props":86,"children":87},{"style":52},[88],{"type":18,"value":75},{"type":13,"tag":45,"props":90,"children":91},{"style":63},[92],{"type":18,"value":93}," inputAttachmentIndex;\n",{"type":13,"tag":45,"props":95,"children":97},{"class":47,"line":96},4,[98],{"type":13,"tag":45,"props":99,"children":100},{"style":63},[101],{"type":18,"value":102}," VkImageAspectFlags aspectMask;\n",{"type":13,"tag":45,"props":104,"children":106},{"class":47,"line":105},5,[107],{"type":13,"tag":45,"props":108,"children":109},{"style":63},[110],{"type":18,"value":111},"} VkInputAttachmentAspectReference;\n",{"type":13,"tag":33,"props":113,"children":118},{"className":114,"code":115,"filename":116,"language":117,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct InputAttachmentAspectReference {\n subpass: u32,\n input_attachment_index: u32,\n aspect_mask: vk::ImageAspectFlags,\n}\n","Rust","rs",[119],{"type":13,"tag":21,"props":120,"children":121},{"__ignoreMap":39},[122,145,168,188,219],{"type":13,"tag":45,"props":123,"children":124},{"class":47,"line":48},[125,130,134,140],{"type":13,"tag":45,"props":126,"children":127},{"style":52},[128],{"type":18,"value":129},"pub",{"type":13,"tag":45,"props":131,"children":132},{"style":52},[133],{"type":18,"value":60},{"type":13,"tag":45,"props":135,"children":137},{"style":136},"--shiki-default:#953800;--shiki-dark:#FFA657",[138],{"type":18,"value":139}," InputAttachmentAspectReference",{"type":13,"tag":45,"props":141,"children":142},{"style":63},[143],{"type":18,"value":144}," {\n",{"type":13,"tag":45,"props":146,"children":147},{"class":47,"line":69},[148,153,158,163],{"type":13,"tag":45,"props":149,"children":150},{"style":63},[151],{"type":18,"value":152}," subpass",{"type":13,"tag":45,"props":154,"children":155},{"style":52},[156],{"type":18,"value":157},":",{"type":13,"tag":45,"props":159,"children":160},{"style":136},[161],{"type":18,"value":162}," u32",{"type":13,"tag":45,"props":164,"children":165},{"style":63},[166],{"type":18,"value":167},",\n",{"type":13,"tag":45,"props":169,"children":170},{"class":47,"line":83},[171,176,180,184],{"type":13,"tag":45,"props":172,"children":173},{"style":63},[174],{"type":18,"value":175}," input_attachment_index",{"type":13,"tag":45,"props":177,"children":178},{"style":52},[179],{"type":18,"value":157},{"type":13,"tag":45,"props":181,"children":182},{"style":136},[183],{"type":18,"value":162},{"type":13,"tag":45,"props":185,"children":186},{"style":63},[187],{"type":18,"value":167},{"type":13,"tag":45,"props":189,"children":190},{"class":47,"line":96},[191,196,200,205,210,215],{"type":13,"tag":45,"props":192,"children":193},{"style":63},[194],{"type":18,"value":195}," aspect_mask",{"type":13,"tag":45,"props":197,"children":198},{"style":52},[199],{"type":18,"value":157},{"type":13,"tag":45,"props":201,"children":202},{"style":136},[203],{"type":18,"value":204}," vk",{"type":13,"tag":45,"props":206,"children":207},{"style":52},[208],{"type":18,"value":209},"::",{"type":13,"tag":45,"props":211,"children":212},{"style":136},[213],{"type":18,"value":214},"ImageAspectFlags",{"type":13,"tag":45,"props":216,"children":217},{"style":63},[218],{"type":18,"value":167},{"type":13,"tag":45,"props":220,"children":221},{"class":47,"line":105},[222],{"type":13,"tag":45,"props":223,"children":224},{"style":63},[225],{"type":18,"value":226},"}\n",{"type":13,"tag":14,"props":228,"children":229},{},[230],{"type":18,"value":231},"or the equivalent",{"type":13,"tag":29,"props":233,"children":234},{},[235,254],{"type":13,"tag":33,"props":236,"children":238},{"className":35,"code":237,"filename":37,"language":38,"meta":39,"style":39},"typedef VkInputAttachmentAspectReference VkInputAttachmentAspectReferenceKHR;\n",[239],{"type":13,"tag":21,"props":240,"children":241},{"__ignoreMap":39},[242],{"type":13,"tag":45,"props":243,"children":244},{"class":47,"line":48},[245,249],{"type":13,"tag":45,"props":246,"children":247},{"style":52},[248],{"type":18,"value":55},{"type":13,"tag":45,"props":250,"children":251},{"style":63},[252],{"type":18,"value":253}," VkInputAttachmentAspectReference VkInputAttachmentAspectReferenceKHR;\n",{"type":13,"tag":33,"props":255,"children":257},{"className":114,"code":256,"filename":116,"language":117,"meta":39,"style":39},"type InputAttachmentAspectReferenceKHR = vk::InputAttachmentAspectReference;\n",[258],{"type":13,"tag":21,"props":259,"children":260},{"__ignoreMap":39},[261],{"type":13,"tag":45,"props":262,"children":263},{"class":47,"line":48},[264,269,274,279,283,287,292],{"type":13,"tag":45,"props":265,"children":266},{"style":52},[267],{"type":18,"value":268},"type",{"type":13,"tag":45,"props":270,"children":271},{"style":136},[272],{"type":18,"value":273}," InputAttachmentAspectReferenceKHR",{"type":13,"tag":45,"props":275,"children":276},{"style":52},[277],{"type":18,"value":278}," =",{"type":13,"tag":45,"props":280,"children":281},{"style":136},[282],{"type":18,"value":204},{"type":13,"tag":45,"props":284,"children":285},{"style":52},[286],{"type":18,"value":209},{"type":13,"tag":45,"props":288,"children":289},{"style":136},[290],{"type":18,"value":291},"InputAttachmentAspectReference",{"type":13,"tag":45,"props":293,"children":294},{"style":63},[295],{"type":18,"value":296},";\n",{"type":13,"tag":298,"props":299,"children":300},"ul",{},[301,329,347],{"type":13,"tag":302,"props":303,"children":304},"li",{},[305,311,313,319,321,327],{"type":13,"tag":21,"props":306,"children":308},{"className":307},[],[309],{"type":18,"value":310},"subpass",{"type":18,"value":312}," is an index into the ",{"type":13,"tag":21,"props":314,"children":316},{"className":315},[],[317],{"type":18,"value":318},"pSubpasses",{"type":18,"value":320}," array of the parent\n",{"type":13,"tag":21,"props":322,"children":324},{"className":323},[],[325],{"type":18,"value":326},"VkRenderPassCreateInfo",{"type":18,"value":328}," structure.",{"type":13,"tag":302,"props":330,"children":331},{},[332,338,339,345],{"type":13,"tag":21,"props":333,"children":335},{"className":334},[],[336],{"type":18,"value":337},"inputAttachmentIndex",{"type":18,"value":312},{"type":13,"tag":21,"props":340,"children":342},{"className":341},[],[343],{"type":18,"value":344},"pInputAttachments",{"type":18,"value":346},"\nof the specified subpass.",{"type":13,"tag":302,"props":348,"children":349},{},[350,356,358,363],{"type":13,"tag":21,"props":351,"children":353},{"className":352},[],[354],{"type":18,"value":355},"aspectMask",{"type":18,"value":357}," is a mask of which aspect(s) ",{"type":13,"tag":359,"props":360,"children":362},"normative",{"type":361},"can",[],{"type":18,"value":364}," be accessed within\nthe specified subpass.",{"type":13,"tag":14,"props":366,"children":367},{},[368],{"type":18,"value":369},"This structure specifies an aspect mask for a specific input attachment of a\nspecific subpass in the render pass.",{"type":13,"tag":14,"props":371,"children":372},{},[373,378,380,385],{"type":13,"tag":21,"props":374,"children":376},{"className":375},[],[377],{"type":18,"value":310},{"type":18,"value":379}," and ",{"type":13,"tag":21,"props":381,"children":383},{"className":382},[],[384],{"type":18,"value":337},{"type":18,"value":386}," index into the render pass as:",{"type":13,"tag":33,"props":388,"children":390},{"className":35,"code":389,"language":38,"meta":39,"style":39},"pCreateInfo->pSubpasses[subpass].pInputAttachments[inputAttachmentIndex]\n",[391],{"type":13,"tag":21,"props":392,"children":393},{"__ignoreMap":39},[394],{"type":13,"tag":45,"props":395,"children":396},{"class":47,"line":48},[397,402,407,411,416,420],{"type":13,"tag":45,"props":398,"children":399},{"style":63},[400],{"type":18,"value":401},"pCreateInfo",{"type":13,"tag":45,"props":403,"children":404},{"style":52},[405],{"type":18,"value":406},"->",{"type":13,"tag":45,"props":408,"children":409},{"style":136},[410],{"type":18,"value":318},{"type":13,"tag":45,"props":412,"children":413},{"style":63},[414],{"type":18,"value":415},"[subpass].",{"type":13,"tag":45,"props":417,"children":418},{"style":136},[419],{"type":18,"value":344},{"type":13,"tag":45,"props":421,"children":422},{"style":63},[423],{"type":18,"value":424},"[inputAttachmentIndex]\n",{"type":13,"tag":426,"props":427,"children":429},"validity-group",{"name":428},"Valid Usage",[430,457],{"type":13,"tag":431,"props":432,"children":434},"validity-field",{"name":433},"VUID-VkInputAttachmentAspectReference-aspectMask-01964",[435],{"type":13,"tag":14,"props":436,"children":437},{},[438,443,445,449,451],{"type":13,"tag":21,"props":439,"children":441},{"className":440},[],[442],{"type":18,"value":355},{"type":18,"value":444}," ",{"type":13,"tag":359,"props":446,"children":448},{"type":447},"must",[],{"type":18,"value":450}," not include ",{"type":13,"tag":21,"props":452,"children":454},{"className":453},[],[455],{"type":18,"value":456},"VK_IMAGE_ASPECT_METADATA_BIT",{"type":13,"tag":431,"props":458,"children":460},{"name":459},"VUID-VkInputAttachmentAspectReference-aspectMask-02250",[461],{"type":13,"tag":14,"props":462,"children":463},{},[464,469,470,473,475,481,483],{"type":13,"tag":21,"props":465,"children":467},{"className":466},[],[468],{"type":18,"value":355},{"type":18,"value":444},{"type":13,"tag":359,"props":471,"children":472},{"type":447},[],{"type":18,"value":474}," not include\nVK_IMAGE_ASPECT_MEMORY_PLANE",{"type":13,"tag":476,"props":477,"children":478},"strong",{},[479],{"type":18,"value":480},"i",{"type":18,"value":482},"BIT_EXT for any index ",{"type":13,"tag":484,"props":485,"children":486},"em",{},[487],{"type":18,"value":480},{"type":13,"tag":426,"props":489,"children":491},{"name":490},"Valid Usage (Implicit)",[492,519],{"type":13,"tag":431,"props":493,"children":495},{"name":494},"VUID-VkInputAttachmentAspectReference-aspectMask-parameter",[496],{"type":13,"tag":14,"props":497,"children":498},{},[499,504,505,508,510,517],{"type":13,"tag":21,"props":500,"children":502},{"className":501},[],[503],{"type":18,"value":355},{"type":18,"value":444},{"type":13,"tag":359,"props":506,"children":507},{"type":447},[],{"type":18,"value":509}," be a valid combination of ",{"type":13,"tag":511,"props":512,"children":514},"a",{"href":513},"/man/VkImageAspectFlagBits",[515],{"type":18,"value":516},"VkImageAspectFlagBits",{"type":18,"value":518}," values",{"type":13,"tag":431,"props":520,"children":522},{"name":521},"VUID-VkInputAttachmentAspectReference-aspectMask-requiredbitmask",[523],{"type":13,"tag":14,"props":524,"children":525},{},[526,531,532,535,537],{"type":13,"tag":21,"props":527,"children":529},{"className":528},[],[530],{"type":18,"value":355},{"type":18,"value":444},{"type":13,"tag":359,"props":533,"children":534},{"type":447},[],{"type":18,"value":536}," not be ",{"type":13,"tag":21,"props":538,"children":540},{"className":539},[],[541],{"type":18,"value":542},"0",{"type":13,"tag":544,"props":545,"children":546},"style",{},[547],{"type":18,"value":548},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":39,"searchDepth":69,"depth":69,"links":550},[],"markdown",1725732560438]