[{"data":1,"prerenderedAt":657},["ShallowReactive",2],{"7VM2sHi9JZ":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":656,"_id":4},"VkAttachmentDescriptionStencilLayout","Structure specifying an attachment description","VK_VERSION_1_2","structs",[],{"type":10,"children":11,"toc":654},"root",[12,28,270,275,340,406,572,648],{"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,117],{"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 VkAttachmentDescriptionStencilLayout {\n VkStructureType sType;\n void* pNext;\n VkImageLayout stencilInitialLayout;\n VkImageLayout stencilFinalLayout;\n} VkAttachmentDescriptionStencilLayout;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90,99,108],{"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}," VkAttachmentDescriptionStencilLayout {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71],{"type":13,"tag":45,"props":72,"children":73},{"style":63},[74],{"type":18,"value":75}," VkStructureType sType;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80,85],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," void*",{"type":13,"tag":45,"props":86,"children":87},{"style":63},[88],{"type":18,"value":89}," pNext;\n",{"type":13,"tag":45,"props":91,"children":93},{"class":47,"line":92},4,[94],{"type":13,"tag":45,"props":95,"children":96},{"style":63},[97],{"type":18,"value":98}," VkImageLayout stencilInitialLayout;\n",{"type":13,"tag":45,"props":100,"children":102},{"class":47,"line":101},5,[103],{"type":13,"tag":45,"props":104,"children":105},{"style":63},[106],{"type":18,"value":107}," VkImageLayout stencilFinalLayout;\n",{"type":13,"tag":45,"props":109,"children":111},{"class":47,"line":110},6,[112],{"type":13,"tag":45,"props":113,"children":114},{"style":63},[115],{"type":18,"value":116},"} VkAttachmentDescriptionStencilLayout;\n",{"type":13,"tag":33,"props":118,"children":123},{"className":119,"code":120,"filename":121,"language":122,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct AttachmentDescriptionStencilLayout {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n stencil_initial_layout: vk::ImageLayout,\n stencil_final_layout: vk::ImageLayout,\n}\n","Rust","rs",[124],{"type":13,"tag":21,"props":125,"children":126},{"__ignoreMap":39},[127,150,183,205,234,262],{"type":13,"tag":45,"props":128,"children":129},{"class":47,"line":48},[130,135,139,145],{"type":13,"tag":45,"props":131,"children":132},{"style":52},[133],{"type":18,"value":134},"pub",{"type":13,"tag":45,"props":136,"children":137},{"style":52},[138],{"type":18,"value":60},{"type":13,"tag":45,"props":140,"children":142},{"style":141},"--shiki-default:#953800;--shiki-dark:#FFA657",[143],{"type":18,"value":144}," AttachmentDescriptionStencilLayout",{"type":13,"tag":45,"props":146,"children":147},{"style":63},[148],{"type":18,"value":149}," {\n",{"type":13,"tag":45,"props":151,"children":152},{"class":47,"line":69},[153,158,163,168,173,178],{"type":13,"tag":45,"props":154,"children":155},{"style":63},[156],{"type":18,"value":157}," s_type",{"type":13,"tag":45,"props":159,"children":160},{"style":52},[161],{"type":18,"value":162},":",{"type":13,"tag":45,"props":164,"children":165},{"style":141},[166],{"type":18,"value":167}," vk",{"type":13,"tag":45,"props":169,"children":170},{"style":52},[171],{"type":18,"value":172},"::",{"type":13,"tag":45,"props":174,"children":175},{"style":141},[176],{"type":18,"value":177},"StructureType",{"type":13,"tag":45,"props":179,"children":180},{"style":63},[181],{"type":18,"value":182},",\n",{"type":13,"tag":45,"props":184,"children":185},{"class":47,"line":78},[186,191,195,200],{"type":13,"tag":45,"props":187,"children":188},{"style":63},[189],{"type":18,"value":190}," p_next",{"type":13,"tag":45,"props":192,"children":193},{"style":52},[194],{"type":18,"value":162},{"type":13,"tag":45,"props":196,"children":197},{"style":52},[198],{"type":18,"value":199}," *mut",{"type":13,"tag":45,"props":201,"children":202},{"style":63},[203],{"type":18,"value":204}," c_void,\n",{"type":13,"tag":45,"props":206,"children":207},{"class":47,"line":92},[208,213,217,221,225,230],{"type":13,"tag":45,"props":209,"children":210},{"style":63},[211],{"type":18,"value":212}," stencil_initial_layout",{"type":13,"tag":45,"props":214,"children":215},{"style":52},[216],{"type":18,"value":162},{"type":13,"tag":45,"props":218,"children":219},{"style":141},[220],{"type":18,"value":167},{"type":13,"tag":45,"props":222,"children":223},{"style":52},[224],{"type":18,"value":172},{"type":13,"tag":45,"props":226,"children":227},{"style":141},[228],{"type":18,"value":229},"ImageLayout",{"type":13,"tag":45,"props":231,"children":232},{"style":63},[233],{"type":18,"value":182},{"type":13,"tag":45,"props":235,"children":236},{"class":47,"line":101},[237,242,246,250,254,258],{"type":13,"tag":45,"props":238,"children":239},{"style":63},[240],{"type":18,"value":241}," stencil_final_layout",{"type":13,"tag":45,"props":243,"children":244},{"style":52},[245],{"type":18,"value":162},{"type":13,"tag":45,"props":247,"children":248},{"style":141},[249],{"type":18,"value":167},{"type":13,"tag":45,"props":251,"children":252},{"style":52},[253],{"type":18,"value":172},{"type":13,"tag":45,"props":255,"children":256},{"style":141},[257],{"type":18,"value":229},{"type":13,"tag":45,"props":259,"children":260},{"style":63},[261],{"type":18,"value":182},{"type":13,"tag":45,"props":263,"children":264},{"class":47,"line":110},[265],{"type":13,"tag":45,"props":266,"children":267},{"style":63},[268],{"type":18,"value":269},"}\n",{"type":13,"tag":14,"props":271,"children":272},{},[273],{"type":18,"value":274},"or the equivalent",{"type":13,"tag":29,"props":276,"children":277},{},[278,297],{"type":13,"tag":33,"props":279,"children":281},{"className":35,"code":280,"filename":37,"language":38,"meta":39,"style":39},"typedef VkAttachmentDescriptionStencilLayout VkAttachmentDescriptionStencilLayoutKHR;\n",[282],{"type":13,"tag":21,"props":283,"children":284},{"__ignoreMap":39},[285],{"type":13,"tag":45,"props":286,"children":287},{"class":47,"line":48},[288,292],{"type":13,"tag":45,"props":289,"children":290},{"style":52},[291],{"type":18,"value":55},{"type":13,"tag":45,"props":293,"children":294},{"style":63},[295],{"type":18,"value":296}," VkAttachmentDescriptionStencilLayout VkAttachmentDescriptionStencilLayoutKHR;\n",{"type":13,"tag":33,"props":298,"children":300},{"className":119,"code":299,"filename":121,"language":122,"meta":39,"style":39},"type AttachmentDescriptionStencilLayoutKHR = vk::AttachmentDescriptionStencilLayout;\n",[301],{"type":13,"tag":21,"props":302,"children":303},{"__ignoreMap":39},[304],{"type":13,"tag":45,"props":305,"children":306},{"class":47,"line":48},[307,312,317,322,326,330,335],{"type":13,"tag":45,"props":308,"children":309},{"style":52},[310],{"type":18,"value":311},"type",{"type":13,"tag":45,"props":313,"children":314},{"style":141},[315],{"type":18,"value":316}," AttachmentDescriptionStencilLayoutKHR",{"type":13,"tag":45,"props":318,"children":319},{"style":52},[320],{"type":18,"value":321}," =",{"type":13,"tag":45,"props":323,"children":324},{"style":141},[325],{"type":18,"value":167},{"type":13,"tag":45,"props":327,"children":328},{"style":52},[329],{"type":18,"value":172},{"type":13,"tag":45,"props":331,"children":332},{"style":141},[333],{"type":18,"value":334},"AttachmentDescriptionStencilLayout",{"type":13,"tag":45,"props":336,"children":337},{"style":63},[338],{"type":18,"value":339},";\n",{"type":13,"tag":341,"props":342,"children":343},"ul",{},[344,365,384,395],{"type":13,"tag":345,"props":346,"children":347},"li",{},[348,354,356,363],{"type":13,"tag":21,"props":349,"children":351},{"className":350},[],[352],{"type":18,"value":353},"sType",{"type":18,"value":355}," is a ",{"type":13,"tag":357,"props":358,"children":360},"a",{"href":359},"/man/VkStructureType",[361],{"type":18,"value":362},"VkStructureType",{"type":18,"value":364}," value identifying this structure.",{"type":13,"tag":345,"props":366,"children":367},{},[368,374,376,382],{"type":13,"tag":21,"props":369,"children":371},{"className":370},[],[372],{"type":18,"value":373},"pNext",{"type":18,"value":375}," is ",{"type":13,"tag":21,"props":377,"children":379},{"className":378},[],[380],{"type":18,"value":381},"NULL",{"type":18,"value":383}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":345,"props":385,"children":386},{},[387,393],{"type":13,"tag":21,"props":388,"children":390},{"className":389},[],[391],{"type":18,"value":392},"stencilInitialLayout",{"type":18,"value":394}," is the layout the stencil aspect of the\nattachment image subresource will be in when a render pass instance\nbegins.",{"type":13,"tag":345,"props":396,"children":397},{},[398,404],{"type":13,"tag":21,"props":399,"children":401},{"className":400},[],[402],{"type":18,"value":403},"stencilFinalLayout",{"type":18,"value":405}," is the layout the stencil aspect of the\nattachment image subresource will be transitioned to when a render pass\ninstance ends.",{"type":13,"tag":407,"props":408,"children":410},"validity-group",{"name":409},"Valid Usage",[411,482,540],{"type":13,"tag":412,"props":413,"children":415},"validity-field",{"name":414},"VUID-VkAttachmentDescriptionStencilLayout-stencilInitialLayout-03308",[416],{"type":13,"tag":14,"props":417,"children":418},{},[419,424,426,431,433,439,440,446,447,453,454,460,461,467,468,474,476],{"type":13,"tag":21,"props":420,"children":422},{"className":421},[],[423],{"type":18,"value":392},{"type":18,"value":425}," ",{"type":13,"tag":427,"props":428,"children":430},"normative",{"type":429},"must",[],{"type":18,"value":432}," not be\n",{"type":13,"tag":21,"props":434,"children":436},{"className":435},[],[437],{"type":18,"value":438},"VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL",{"type":18,"value":182},{"type":13,"tag":21,"props":441,"children":443},{"className":442},[],[444],{"type":18,"value":445},"VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL",{"type":18,"value":182},{"type":13,"tag":21,"props":448,"children":450},{"className":449},[],[451],{"type":18,"value":452},"VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL",{"type":18,"value":182},{"type":13,"tag":21,"props":455,"children":457},{"className":456},[],[458],{"type":18,"value":459},"VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL",{"type":18,"value":182},{"type":13,"tag":21,"props":462,"children":464},{"className":463},[],[465],{"type":18,"value":466},"VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL",{"type":18,"value":182},{"type":13,"tag":21,"props":469,"children":471},{"className":470},[],[472],{"type":18,"value":473},"VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL",{"type":18,"value":475},", or\n",{"type":13,"tag":21,"props":477,"children":479},{"className":478},[],[480],{"type":18,"value":481},"VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL",{"type":13,"tag":412,"props":483,"children":485},{"name":484},"VUID-VkAttachmentDescriptionStencilLayout-stencilFinalLayout-03309",[486],{"type":13,"tag":14,"props":487,"children":488},{},[489,494,495,498,499,504,505,510,511,516,517,522,523,528,529,534,535],{"type":13,"tag":21,"props":490,"children":492},{"className":491},[],[493],{"type":18,"value":403},{"type":18,"value":425},{"type":13,"tag":427,"props":496,"children":497},{"type":429},[],{"type":18,"value":432},{"type":13,"tag":21,"props":500,"children":502},{"className":501},[],[503],{"type":18,"value":438},{"type":18,"value":182},{"type":13,"tag":21,"props":506,"children":508},{"className":507},[],[509],{"type":18,"value":445},{"type":18,"value":182},{"type":13,"tag":21,"props":512,"children":514},{"className":513},[],[515],{"type":18,"value":452},{"type":18,"value":182},{"type":13,"tag":21,"props":518,"children":520},{"className":519},[],[521],{"type":18,"value":459},{"type":18,"value":182},{"type":13,"tag":21,"props":524,"children":526},{"className":525},[],[527],{"type":18,"value":466},{"type":18,"value":182},{"type":13,"tag":21,"props":530,"children":532},{"className":531},[],[533],{"type":18,"value":473},{"type":18,"value":475},{"type":13,"tag":21,"props":536,"children":538},{"className":537},[],[539],{"type":18,"value":481},{"type":13,"tag":412,"props":541,"children":543},{"name":542},"VUID-VkAttachmentDescriptionStencilLayout-stencilFinalLayout-03310",[544],{"type":13,"tag":14,"props":545,"children":546},{},[547,552,553,556,558,564,566],{"type":13,"tag":21,"props":548,"children":550},{"className":549},[],[551],{"type":18,"value":403},{"type":18,"value":425},{"type":13,"tag":427,"props":554,"children":555},{"type":429},[],{"type":18,"value":557}," not be ",{"type":13,"tag":21,"props":559,"children":561},{"className":560},[],[562],{"type":18,"value":563},"VK_IMAGE_LAYOUT_UNDEFINED",{"type":18,"value":565}," or\n",{"type":13,"tag":21,"props":567,"children":569},{"className":568},[],[570],{"type":18,"value":571},"VK_IMAGE_LAYOUT_PREINITIALIZED",{"type":13,"tag":407,"props":573,"children":575},{"name":574},"Valid Usage (Implicit)",[576,600,626],{"type":13,"tag":412,"props":577,"children":579},{"name":578},"VUID-VkAttachmentDescriptionStencilLayout-sType-sType",[580],{"type":13,"tag":14,"props":581,"children":582},{},[583,588,589,592,594],{"type":13,"tag":21,"props":584,"children":586},{"className":585},[],[587],{"type":18,"value":353},{"type":18,"value":425},{"type":13,"tag":427,"props":590,"children":591},{"type":429},[],{"type":18,"value":593}," be ",{"type":13,"tag":21,"props":595,"children":597},{"className":596},[],[598],{"type":18,"value":599},"VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_STENCIL_LAYOUT",{"type":13,"tag":412,"props":601,"children":603},{"name":602},"VUID-VkAttachmentDescriptionStencilLayout-stencilInitialLayout-parameter",[604],{"type":13,"tag":14,"props":605,"children":606},{},[607,612,613,616,618,624],{"type":13,"tag":21,"props":608,"children":610},{"className":609},[],[611],{"type":18,"value":392},{"type":18,"value":425},{"type":13,"tag":427,"props":614,"children":615},{"type":429},[],{"type":18,"value":617}," be a valid ",{"type":13,"tag":357,"props":619,"children":621},{"href":620},"/man/VkImageLayout",[622],{"type":18,"value":623},"VkImageLayout",{"type":18,"value":625}," value",{"type":13,"tag":412,"props":627,"children":629},{"name":628},"VUID-VkAttachmentDescriptionStencilLayout-stencilFinalLayout-parameter",[630],{"type":13,"tag":14,"props":631,"children":632},{},[633,638,639,642,643,647],{"type":13,"tag":21,"props":634,"children":636},{"className":635},[],[637],{"type":18,"value":403},{"type":18,"value":425},{"type":13,"tag":427,"props":640,"children":641},{"type":429},[],{"type":18,"value":617},{"type":13,"tag":357,"props":644,"children":645},{"href":620},[646],{"type":18,"value":623},{"type":18,"value":625},{"type":13,"tag":649,"props":650,"children":651},"style",{},[652],{"type":18,"value":653},"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":655},[],"markdown",1725732539263]