[{"data":1,"prerenderedAt":548},["ShallowReactive",2],{"Q2KuF3c8Hv":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":547,"_id":4},"VkSubresourceLayout2","Structure specifying subresource layout","VK_VERSION_1_4","structs",[],{"type":10,"children":11,"toc":545},"root",[12,28,233,238,303,307,368,430,539],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","Information about the layout of the image subresource is returned in a\n",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":4},{"type":18,"value":27}," structure:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,108],{"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 VkSubresourceLayout2 {\n VkStructureType sType;\n void* pNext;\n VkSubresourceLayout subresourceLayout;\n} VkSubresourceLayout2;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90,99],{"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}," VkSubresourceLayout2 {\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}," VkSubresourceLayout subresourceLayout;\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},"} VkSubresourceLayout2;\n",{"type":13,"tag":33,"props":109,"children":114},{"className":110,"code":111,"filename":112,"language":113,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct SubresourceLayout2 {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n subresource_layout: vk::SubresourceLayout,\n}\n","Rust","rs",[115],{"type":13,"tag":21,"props":116,"children":117},{"__ignoreMap":39},[118,141,174,196,225],{"type":13,"tag":45,"props":119,"children":120},{"class":47,"line":48},[121,126,130,136],{"type":13,"tag":45,"props":122,"children":123},{"style":52},[124],{"type":18,"value":125},"pub",{"type":13,"tag":45,"props":127,"children":128},{"style":52},[129],{"type":18,"value":60},{"type":13,"tag":45,"props":131,"children":133},{"style":132},"--shiki-default:#953800;--shiki-dark:#FFA657",[134],{"type":18,"value":135}," SubresourceLayout2",{"type":13,"tag":45,"props":137,"children":138},{"style":63},[139],{"type":18,"value":140}," {\n",{"type":13,"tag":45,"props":142,"children":143},{"class":47,"line":69},[144,149,154,159,164,169],{"type":13,"tag":45,"props":145,"children":146},{"style":63},[147],{"type":18,"value":148}," s_type",{"type":13,"tag":45,"props":150,"children":151},{"style":52},[152],{"type":18,"value":153},":",{"type":13,"tag":45,"props":155,"children":156},{"style":132},[157],{"type":18,"value":158}," vk",{"type":13,"tag":45,"props":160,"children":161},{"style":52},[162],{"type":18,"value":163},"::",{"type":13,"tag":45,"props":165,"children":166},{"style":132},[167],{"type":18,"value":168},"StructureType",{"type":13,"tag":45,"props":170,"children":171},{"style":63},[172],{"type":18,"value":173},",\n",{"type":13,"tag":45,"props":175,"children":176},{"class":47,"line":78},[177,182,186,191],{"type":13,"tag":45,"props":178,"children":179},{"style":63},[180],{"type":18,"value":181}," p_next",{"type":13,"tag":45,"props":183,"children":184},{"style":52},[185],{"type":18,"value":153},{"type":13,"tag":45,"props":187,"children":188},{"style":52},[189],{"type":18,"value":190}," *mut",{"type":13,"tag":45,"props":192,"children":193},{"style":63},[194],{"type":18,"value":195}," c_void,\n",{"type":13,"tag":45,"props":197,"children":198},{"class":47,"line":92},[199,204,208,212,216,221],{"type":13,"tag":45,"props":200,"children":201},{"style":63},[202],{"type":18,"value":203}," subresource_layout",{"type":13,"tag":45,"props":205,"children":206},{"style":52},[207],{"type":18,"value":153},{"type":13,"tag":45,"props":209,"children":210},{"style":132},[211],{"type":18,"value":158},{"type":13,"tag":45,"props":213,"children":214},{"style":52},[215],{"type":18,"value":163},{"type":13,"tag":45,"props":217,"children":218},{"style":132},[219],{"type":18,"value":220},"SubresourceLayout",{"type":13,"tag":45,"props":222,"children":223},{"style":63},[224],{"type":18,"value":173},{"type":13,"tag":45,"props":226,"children":227},{"class":47,"line":101},[228],{"type":13,"tag":45,"props":229,"children":230},{"style":63},[231],{"type":18,"value":232},"}\n",{"type":13,"tag":14,"props":234,"children":235},{},[236],{"type":18,"value":237},"or the equivalent",{"type":13,"tag":29,"props":239,"children":240},{},[241,260],{"type":13,"tag":33,"props":242,"children":244},{"className":35,"code":243,"filename":37,"language":38,"meta":39,"style":39},"typedef VkSubresourceLayout2 VkSubresourceLayout2KHR;\n",[245],{"type":13,"tag":21,"props":246,"children":247},{"__ignoreMap":39},[248],{"type":13,"tag":45,"props":249,"children":250},{"class":47,"line":48},[251,255],{"type":13,"tag":45,"props":252,"children":253},{"style":52},[254],{"type":18,"value":55},{"type":13,"tag":45,"props":256,"children":257},{"style":63},[258],{"type":18,"value":259}," VkSubresourceLayout2 VkSubresourceLayout2KHR;\n",{"type":13,"tag":33,"props":261,"children":263},{"className":110,"code":262,"filename":112,"language":113,"meta":39,"style":39},"type SubresourceLayout2KHR = vk::SubresourceLayout2;\n",[264],{"type":13,"tag":21,"props":265,"children":266},{"__ignoreMap":39},[267],{"type":13,"tag":45,"props":268,"children":269},{"class":47,"line":48},[270,275,280,285,289,293,298],{"type":13,"tag":45,"props":271,"children":272},{"style":52},[273],{"type":18,"value":274},"type",{"type":13,"tag":45,"props":276,"children":277},{"style":132},[278],{"type":18,"value":279}," SubresourceLayout2KHR",{"type":13,"tag":45,"props":281,"children":282},{"style":52},[283],{"type":18,"value":284}," =",{"type":13,"tag":45,"props":286,"children":287},{"style":132},[288],{"type":18,"value":158},{"type":13,"tag":45,"props":290,"children":291},{"style":52},[292],{"type":18,"value":163},{"type":13,"tag":45,"props":294,"children":295},{"style":132},[296],{"type":18,"value":297},"SubresourceLayout2",{"type":13,"tag":45,"props":299,"children":300},{"style":63},[301],{"type":18,"value":302},";\n",{"type":13,"tag":14,"props":304,"children":305},{},[306],{"type":18,"value":237},{"type":13,"tag":29,"props":308,"children":309},{},[310,329],{"type":13,"tag":33,"props":311,"children":313},{"className":35,"code":312,"filename":37,"language":38,"meta":39,"style":39},"typedef VkSubresourceLayout2 VkSubresourceLayout2EXT;\n",[314],{"type":13,"tag":21,"props":315,"children":316},{"__ignoreMap":39},[317],{"type":13,"tag":45,"props":318,"children":319},{"class":47,"line":48},[320,324],{"type":13,"tag":45,"props":321,"children":322},{"style":52},[323],{"type":18,"value":55},{"type":13,"tag":45,"props":325,"children":326},{"style":63},[327],{"type":18,"value":328}," VkSubresourceLayout2 VkSubresourceLayout2EXT;\n",{"type":13,"tag":33,"props":330,"children":332},{"className":110,"code":331,"filename":112,"language":113,"meta":39,"style":39},"type SubresourceLayout2EXT = vk::SubresourceLayout2;\n",[333],{"type":13,"tag":21,"props":334,"children":335},{"__ignoreMap":39},[336],{"type":13,"tag":45,"props":337,"children":338},{"class":47,"line":48},[339,343,348,352,356,360,364],{"type":13,"tag":45,"props":340,"children":341},{"style":52},[342],{"type":18,"value":274},{"type":13,"tag":45,"props":344,"children":345},{"style":132},[346],{"type":18,"value":347}," SubresourceLayout2EXT",{"type":13,"tag":45,"props":349,"children":350},{"style":52},[351],{"type":18,"value":284},{"type":13,"tag":45,"props":353,"children":354},{"style":132},[355],{"type":18,"value":158},{"type":13,"tag":45,"props":357,"children":358},{"style":52},[359],{"type":18,"value":163},{"type":13,"tag":45,"props":361,"children":362},{"style":132},[363],{"type":18,"value":297},{"type":13,"tag":45,"props":365,"children":366},{"style":63},[367],{"type":18,"value":302},{"type":13,"tag":369,"props":370,"children":371},"ul",{},[372,393,412],{"type":13,"tag":373,"props":374,"children":375},"li",{},[376,382,384,391],{"type":13,"tag":21,"props":377,"children":379},{"className":378},[],[380],{"type":18,"value":381},"sType",{"type":18,"value":383}," is a ",{"type":13,"tag":385,"props":386,"children":388},"a",{"href":387},"/man/VkStructureType",[389],{"type":18,"value":390},"VkStructureType",{"type":18,"value":392}," value identifying this structure.",{"type":13,"tag":373,"props":394,"children":395},{},[396,402,404,410],{"type":13,"tag":21,"props":397,"children":399},{"className":398},[],[400],{"type":18,"value":401},"pNext",{"type":18,"value":403}," is ",{"type":13,"tag":21,"props":405,"children":407},{"className":406},[],[408],{"type":18,"value":409},"NULL",{"type":18,"value":411}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":373,"props":413,"children":414},{},[415,421,422,428],{"type":13,"tag":21,"props":416,"children":418},{"className":417},[],[419],{"type":18,"value":420},"subresourceLayout",{"type":18,"value":383},{"type":13,"tag":385,"props":423,"children":425},{"href":424},"/man/VkSubresourceLayout",[426],{"type":18,"value":427},"VkSubresourceLayout",{"type":18,"value":429}," structure.",{"type":13,"tag":431,"props":432,"children":434},"validity-group",{"name":433},"Valid Usage (Implicit)",[435,463,512],{"type":13,"tag":436,"props":437,"children":439},"validity-field",{"name":438},"VUID-VkSubresourceLayout2-sType-sType",[440],{"type":13,"tag":14,"props":441,"children":442},{},[443,448,450,455,457],{"type":13,"tag":21,"props":444,"children":446},{"className":445},[],[447],{"type":18,"value":381},{"type":18,"value":449}," ",{"type":13,"tag":451,"props":452,"children":454},"normative",{"type":453},"must",[],{"type":18,"value":456}," be ",{"type":13,"tag":21,"props":458,"children":460},{"className":459},[],[461],{"type":18,"value":462},"VK_STRUCTURE_TYPE_SUBRESOURCE_LAYOUT_2",{"type":13,"tag":436,"props":464,"children":466},{"name":465},"VUID-VkSubresourceLayout2-pNext-pNext",[467],{"type":13,"tag":14,"props":468,"children":469},{},[470,472,477,479,484,486,489,491,496,498,504,506],{"type":18,"value":471},"Each ",{"type":13,"tag":21,"props":473,"children":475},{"className":474},[],[476],{"type":18,"value":401},{"type":18,"value":478}," member of any structure (including this one) in the ",{"type":13,"tag":21,"props":480,"children":482},{"className":481},[],[483],{"type":18,"value":401},{"type":18,"value":485}," chain ",{"type":13,"tag":451,"props":487,"children":488},{"type":453},[],{"type":18,"value":490}," be either ",{"type":13,"tag":21,"props":492,"children":494},{"className":493},[],[495],{"type":18,"value":409},{"type":18,"value":497}," or a pointer to a valid instance of ",{"type":13,"tag":385,"props":499,"children":501},{"href":500},"/man/VkImageCompressionPropertiesEXT",[502],{"type":18,"value":503},"VkImageCompressionPropertiesEXT",{"type":18,"value":505}," or ",{"type":13,"tag":385,"props":507,"children":509},{"href":508},"/man/VkSubresourceHostMemcpySize",[510],{"type":18,"value":511},"VkSubresourceHostMemcpySize",{"type":13,"tag":436,"props":513,"children":515},{"name":514},"VUID-VkSubresourceLayout2-sType-unique",[516],{"type":13,"tag":14,"props":517,"children":518},{},[519,521,526,528,533,534,537],{"type":18,"value":520},"The ",{"type":13,"tag":21,"props":522,"children":524},{"className":523},[],[525],{"type":18,"value":381},{"type":18,"value":527}," value of each structure in the ",{"type":13,"tag":21,"props":529,"children":531},{"className":530},[],[532],{"type":18,"value":401},{"type":18,"value":485},{"type":13,"tag":451,"props":535,"children":536},{"type":453},[],{"type":18,"value":538}," be unique",{"type":13,"tag":540,"props":541,"children":542},"style",{},[543],{"type":18,"value":544},"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":546},[],"markdown",1744876574279]