[{"data":1,"prerenderedAt":1222},["ShallowReactive",2],{"sywvZmvpob":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":1221,"_id":4},"vkGetImageSubresourceLayout","Retrieve information about an image subresource","VK_VERSION_1_0","protos",[],{"type":10,"children":11,"toc":1219},"root",[12,20,338,401,422,509,532,1089,1213],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To query the memory layout of an image subresource, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,150],{"type":13,"tag":25,"props":26,"children":32},"pre",{"className":27,"code":28,"filename":29,"language":30,"meta":31,"style":31},"language-c shiki shiki-themes github-light-default github-dark-default","void vkGetImageSubresourceLayout(\n VkDevice device,\n VkImage image,\n const VkImageSubresource* pSubresource,\n VkSubresourceLayout* pLayout);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,61,81,99,127],{"type":13,"tag":38,"props":39,"children":42},"span",{"class":40,"line":41},"line",1,[43,49,55],{"type":13,"tag":38,"props":44,"children":46},{"style":45},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[47],{"type":18,"value":48},"void",{"type":13,"tag":38,"props":50,"children":52},{"style":51},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[53],{"type":18,"value":54}," vkGetImageSubresourceLayout",{"type":13,"tag":38,"props":56,"children":58},{"style":57},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[59],{"type":18,"value":60},"(\n",{"type":13,"tag":38,"props":62,"children":64},{"class":40,"line":63},2,[65,70,76],{"type":13,"tag":38,"props":66,"children":67},{"style":57},[68],{"type":18,"value":69}," VkDevice ",{"type":13,"tag":38,"props":71,"children":73},{"style":72},"--shiki-default:#953800;--shiki-dark:#FFA657",[74],{"type":18,"value":75},"device",{"type":13,"tag":38,"props":77,"children":78},{"style":57},[79],{"type":18,"value":80},",\n",{"type":13,"tag":38,"props":82,"children":84},{"class":40,"line":83},3,[85,90,95],{"type":13,"tag":38,"props":86,"children":87},{"style":57},[88],{"type":18,"value":89}," VkImage ",{"type":13,"tag":38,"props":91,"children":92},{"style":72},[93],{"type":18,"value":94},"image",{"type":13,"tag":38,"props":96,"children":97},{"style":57},[98],{"type":18,"value":80},{"type":13,"tag":38,"props":100,"children":102},{"class":40,"line":101},4,[103,108,113,118,123],{"type":13,"tag":38,"props":104,"children":105},{"style":45},[106],{"type":18,"value":107}," const",{"type":13,"tag":38,"props":109,"children":110},{"style":57},[111],{"type":18,"value":112}," VkImageSubresource",{"type":13,"tag":38,"props":114,"children":115},{"style":45},[116],{"type":18,"value":117},"*",{"type":13,"tag":38,"props":119,"children":120},{"style":72},[121],{"type":18,"value":122}," pSubresource",{"type":13,"tag":38,"props":124,"children":125},{"style":57},[126],{"type":18,"value":80},{"type":13,"tag":38,"props":128,"children":130},{"class":40,"line":129},5,[131,136,140,145],{"type":13,"tag":38,"props":132,"children":133},{"style":57},[134],{"type":18,"value":135}," VkSubresourceLayout",{"type":13,"tag":38,"props":137,"children":138},{"style":45},[139],{"type":18,"value":117},{"type":13,"tag":38,"props":141,"children":142},{"style":72},[143],{"type":18,"value":144}," pLayout",{"type":13,"tag":38,"props":146,"children":147},{"style":57},[148],{"type":18,"value":149},");\n",{"type":13,"tag":25,"props":151,"children":156},{"className":152,"code":153,"filename":154,"language":155,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_image_subresource_layout(\n device: crate :: vk :: vk::Device,\n image: vk::Image,\n p_subresource: *const vk::ImageSubresource,\n p_layout: *mut vk::SubresourceLayout,\n);\n","Rust","rs",[157],{"type":13,"tag":34,"props":158,"children":159},{"__ignoreMap":31},[160,182,233,262,296,330],{"type":13,"tag":38,"props":161,"children":162},{"class":40,"line":41},[163,168,173,178],{"type":13,"tag":38,"props":164,"children":165},{"style":45},[166],{"type":18,"value":167},"pub",{"type":13,"tag":38,"props":169,"children":170},{"style":45},[171],{"type":18,"value":172}," fn",{"type":13,"tag":38,"props":174,"children":175},{"style":51},[176],{"type":18,"value":177}," get_image_subresource_layout",{"type":13,"tag":38,"props":179,"children":180},{"style":57},[181],{"type":18,"value":60},{"type":13,"tag":38,"props":183,"children":184},{"class":40,"line":63},[185,190,195,200,205,210,215,220,224,229],{"type":13,"tag":38,"props":186,"children":187},{"style":57},[188],{"type":18,"value":189}," device",{"type":13,"tag":38,"props":191,"children":192},{"style":45},[193],{"type":18,"value":194},":",{"type":13,"tag":38,"props":196,"children":197},{"style":45},[198],{"type":18,"value":199}," crate",{"type":13,"tag":38,"props":201,"children":202},{"style":45},[203],{"type":18,"value":204}," ::",{"type":13,"tag":38,"props":206,"children":207},{"style":57},[208],{"type":18,"value":209}," vk ",{"type":13,"tag":38,"props":211,"children":212},{"style":45},[213],{"type":18,"value":214},"::",{"type":13,"tag":38,"props":216,"children":217},{"style":72},[218],{"type":18,"value":219}," vk",{"type":13,"tag":38,"props":221,"children":222},{"style":45},[223],{"type":18,"value":214},{"type":13,"tag":38,"props":225,"children":226},{"style":72},[227],{"type":18,"value":228},"Device",{"type":13,"tag":38,"props":230,"children":231},{"style":57},[232],{"type":18,"value":80},{"type":13,"tag":38,"props":234,"children":235},{"class":40,"line":83},[236,241,245,249,253,258],{"type":13,"tag":38,"props":237,"children":238},{"style":57},[239],{"type":18,"value":240}," image",{"type":13,"tag":38,"props":242,"children":243},{"style":45},[244],{"type":18,"value":194},{"type":13,"tag":38,"props":246,"children":247},{"style":72},[248],{"type":18,"value":219},{"type":13,"tag":38,"props":250,"children":251},{"style":45},[252],{"type":18,"value":214},{"type":13,"tag":38,"props":254,"children":255},{"style":72},[256],{"type":18,"value":257},"Image",{"type":13,"tag":38,"props":259,"children":260},{"style":57},[261],{"type":18,"value":80},{"type":13,"tag":38,"props":263,"children":264},{"class":40,"line":101},[265,270,274,279,283,287,292],{"type":13,"tag":38,"props":266,"children":267},{"style":57},[268],{"type":18,"value":269}," p_subresource",{"type":13,"tag":38,"props":271,"children":272},{"style":45},[273],{"type":18,"value":194},{"type":13,"tag":38,"props":275,"children":276},{"style":45},[277],{"type":18,"value":278}," *const",{"type":13,"tag":38,"props":280,"children":281},{"style":72},[282],{"type":18,"value":219},{"type":13,"tag":38,"props":284,"children":285},{"style":45},[286],{"type":18,"value":214},{"type":13,"tag":38,"props":288,"children":289},{"style":72},[290],{"type":18,"value":291},"ImageSubresource",{"type":13,"tag":38,"props":293,"children":294},{"style":57},[295],{"type":18,"value":80},{"type":13,"tag":38,"props":297,"children":298},{"class":40,"line":129},[299,304,308,313,317,321,326],{"type":13,"tag":38,"props":300,"children":301},{"style":57},[302],{"type":18,"value":303}," p_layout",{"type":13,"tag":38,"props":305,"children":306},{"style":45},[307],{"type":18,"value":194},{"type":13,"tag":38,"props":309,"children":310},{"style":45},[311],{"type":18,"value":312}," *mut",{"type":13,"tag":38,"props":314,"children":315},{"style":72},[316],{"type":18,"value":219},{"type":13,"tag":38,"props":318,"children":319},{"style":45},[320],{"type":18,"value":214},{"type":13,"tag":38,"props":322,"children":323},{"style":72},[324],{"type":18,"value":325},"SubresourceLayout",{"type":13,"tag":38,"props":327,"children":328},{"style":57},[329],{"type":18,"value":80},{"type":13,"tag":38,"props":331,"children":333},{"class":40,"line":332},6,[334],{"type":13,"tag":38,"props":335,"children":336},{"style":57},[337],{"type":18,"value":149},{"type":13,"tag":339,"props":340,"children":341},"ul",{},[342,353,363,383],{"type":13,"tag":343,"props":344,"children":345},"li",{},[346,351],{"type":13,"tag":34,"props":347,"children":349},{"className":348},[],[350],{"type":18,"value":75},{"type":18,"value":352}," is the logical device that owns the image.",{"type":13,"tag":343,"props":354,"children":355},{},[356,361],{"type":13,"tag":34,"props":357,"children":359},{"className":358},[],[360],{"type":18,"value":94},{"type":18,"value":362}," is the image whose layout is being queried.",{"type":13,"tag":343,"props":364,"children":365},{},[366,372,374,381],{"type":13,"tag":34,"props":367,"children":369},{"className":368},[],[370],{"type":18,"value":371},"pSubresource",{"type":18,"value":373}," is a pointer to a ",{"type":13,"tag":375,"props":376,"children":378},"a",{"href":377},"/man/VkImageSubresource",[379],{"type":18,"value":380},"VkImageSubresource",{"type":18,"value":382}," structure\nselecting a specific image subresource from the image.",{"type":13,"tag":343,"props":384,"children":385},{},[386,392,393,399],{"type":13,"tag":34,"props":387,"children":389},{"className":388},[],[390],{"type":18,"value":391},"pLayout",{"type":18,"value":373},{"type":13,"tag":375,"props":394,"children":396},{"href":395},"/man/VkSubresourceLayout",[397],{"type":18,"value":398},"VkSubresourceLayout",{"type":18,"value":400}," structure in\nwhich the layout is returned.",{"type":13,"tag":14,"props":402,"children":403},{},[404,406,412,414,420],{"type":18,"value":405},"If the image is ",{"type":13,"tag":375,"props":407,"children":409},{"href":408},"/404#glossary-linear-resource",[410],{"type":18,"value":411},"linear",{"type":18,"value":413},", then the\nreturned layout is valid for ",{"type":13,"tag":375,"props":415,"children":417},{"href":416},"/chapters/memory#memory-device-hostaccess",[418],{"type":18,"value":419},"host access",{"type":18,"value":421},".",{"type":13,"tag":14,"props":423,"children":424},{},[425,427,433,435,441,443,448,450,456,458,464,466,471,473,478,480,485,487,492,494,500,502,507],{"type":18,"value":426},"If the image’s\ntiling is ",{"type":13,"tag":34,"props":428,"children":430},{"className":429},[],[431],{"type":18,"value":432},"VK_IMAGE_TILING_LINEAR",{"type":18,"value":434}," and its\nformat is a ",{"type":13,"tag":375,"props":436,"children":438},{"href":437},"/chapters/formats#formats-requiring-sampler-ycbcr-conversion",[439],{"type":18,"value":440},"multi-planar\nformat",{"type":18,"value":442},", then ",{"type":13,"tag":34,"props":444,"children":446},{"className":445},[],[447],{"type":18,"value":4},{"type":18,"value":449}," describes one\n",{"type":13,"tag":451,"props":452,"children":453},"em",{},[454],{"type":18,"value":455},"format plane",{"type":18,"value":457},"\nof the image.\nIf the image’s tiling is ",{"type":13,"tag":34,"props":459,"children":461},{"className":460},[],[462],{"type":18,"value":463},"VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT",{"type":18,"value":465},", then\n",{"type":13,"tag":34,"props":467,"children":469},{"className":468},[],[470],{"type":18,"value":4},{"type":18,"value":472}," describes one ",{"type":13,"tag":451,"props":474,"children":475},{},[476],{"type":18,"value":477},"memory plane",{"type":18,"value":479}," of the image.\nIf the image’s tiling is ",{"type":13,"tag":34,"props":481,"children":483},{"className":482},[],[484],{"type":18,"value":463},{"type":18,"value":486}," and\nthe image is ",{"type":13,"tag":375,"props":488,"children":489},{"href":408},[490],{"type":18,"value":491},"non-linear",{"type":18,"value":493},", then the returned\nlayout has an implementation-dependent meaning; the vendor of the image’s\n",{"type":13,"tag":375,"props":495,"children":497},{"href":496},"/404#glossary-drm-format-modifier",[498],{"type":18,"value":499},"DRM format modifier",{"type":18,"value":501}," ",{"type":13,"tag":503,"props":504,"children":506},"normative",{"type":505},"may",[],{"type":18,"value":508}," provide\ndocumentation that explains how to interpret the returned layout.",{"type":13,"tag":14,"props":510,"children":511},{},[512,517,519,523,525,530],{"type":13,"tag":34,"props":513,"children":515},{"className":514},[],[516],{"type":18,"value":4},{"type":18,"value":518}," is invariant for the lifetime of a single\nimage.\nHowever, the subresource layout of images in Android hardware buffer or QNX\nScreen buffer external memory is not known until the image has been bound to\nmemory, so applications ",{"type":13,"tag":503,"props":520,"children":522},{"type":521},"must",[],{"type":18,"value":524}," not call ",{"type":13,"tag":375,"props":526,"children":528},{"href":527},"/man/vkGetImageSubresourceLayout",[529],{"type":18,"value":4},{"type":18,"value":531}," for\nsuch an image before it has been bound.",{"type":13,"tag":533,"props":534,"children":536},"validity-group",{"name":535},"Valid Usage",[537,576,604,643,680,762,806,849,898,958,992],{"type":13,"tag":538,"props":539,"children":541},"validity-field",{"name":540},"VUID-vkGetImageSubresourceLayout-image-07790",[542],{"type":13,"tag":14,"props":543,"children":544},{},[545,550,551,554,556,562,564,569,571],{"type":13,"tag":34,"props":546,"children":548},{"className":547},[],[549],{"type":18,"value":94},{"type":18,"value":501},{"type":13,"tag":503,"props":552,"children":553},{"type":521},[],{"type":18,"value":555}," have been created with ",{"type":13,"tag":34,"props":557,"children":559},{"className":558},[],[560],{"type":18,"value":561},"tiling",{"type":18,"value":563}," equal to\n",{"type":13,"tag":34,"props":565,"children":567},{"className":566},[],[568],{"type":18,"value":432},{"type":18,"value":570}," or\n",{"type":13,"tag":34,"props":572,"children":574},{"className":573},[],[575],{"type":18,"value":463},{"type":13,"tag":538,"props":577,"children":579},{"name":578},"VUID-vkGetImageSubresourceLayout-aspectMask-00997",[580],{"type":13,"tag":14,"props":581,"children":582},{},[583,585,591,593,598,599,602],{"type":18,"value":584},"The ",{"type":13,"tag":34,"props":586,"children":588},{"className":587},[],[589],{"type":18,"value":590},"aspectMask",{"type":18,"value":592}," member of ",{"type":13,"tag":34,"props":594,"children":596},{"className":595},[],[597],{"type":18,"value":371},{"type":18,"value":501},{"type":13,"tag":503,"props":600,"children":601},{"type":521},[],{"type":18,"value":603}," only have a\nsingle bit set",{"type":13,"tag":538,"props":605,"children":607},{"name":606},"VUID-vkGetImageSubresourceLayout-mipLevel-01716",[608],{"type":13,"tag":14,"props":609,"children":610},{},[611,612,618,619,624,625,628,630,636,638],{"type":18,"value":584},{"type":13,"tag":34,"props":613,"children":615},{"className":614},[],[616],{"type":18,"value":617},"mipLevel",{"type":18,"value":592},{"type":13,"tag":34,"props":620,"children":622},{"className":621},[],[623],{"type":18,"value":371},{"type":18,"value":501},{"type":13,"tag":503,"props":626,"children":627},{"type":521},[],{"type":18,"value":629}," be less than the\n",{"type":13,"tag":34,"props":631,"children":633},{"className":632},[],[634],{"type":18,"value":635},"mipLevels",{"type":18,"value":637}," specified in ",{"type":13,"tag":34,"props":639,"children":641},{"className":640},[],[642],{"type":18,"value":94},{"type":13,"tag":538,"props":644,"children":646},{"name":645},"VUID-vkGetImageSubresourceLayout-arrayLayer-01717",[647],{"type":13,"tag":14,"props":648,"children":649},{},[650,651,657,658,663,664,667,668,674,675],{"type":18,"value":584},{"type":13,"tag":34,"props":652,"children":654},{"className":653},[],[655],{"type":18,"value":656},"arrayLayer",{"type":18,"value":592},{"type":13,"tag":34,"props":659,"children":661},{"className":660},[],[662],{"type":18,"value":371},{"type":18,"value":501},{"type":13,"tag":503,"props":665,"children":666},{"type":521},[],{"type":18,"value":629},{"type":13,"tag":34,"props":669,"children":671},{"className":670},[],[672],{"type":18,"value":673},"arrayLayers",{"type":18,"value":637},{"type":13,"tag":34,"props":676,"children":678},{"className":677},[],[679],{"type":18,"value":94},{"type":13,"tag":538,"props":681,"children":683},{"name":682},"VUID-vkGetImageSubresourceLayout-format-08886",[684],{"type":13,"tag":14,"props":685,"children":686},{},[687,689,695,697,702,704,709,711,716,717,722,724,729,731,737,739,744,745,750,751,754,756],{"type":18,"value":688},"If ",{"type":13,"tag":34,"props":690,"children":692},{"className":691},[],[693],{"type":18,"value":694},"format",{"type":18,"value":696}," of the ",{"type":13,"tag":34,"props":698,"children":700},{"className":699},[],[701],{"type":18,"value":94},{"type":18,"value":703}," is a color format\nthat is not a ",{"type":13,"tag":375,"props":705,"children":706},{"href":437},[707],{"type":18,"value":708},"multi-planar\nimage format",{"type":18,"value":710},",\nand ",{"type":13,"tag":34,"props":712,"children":714},{"className":713},[],[715],{"type":18,"value":561},{"type":18,"value":696},{"type":13,"tag":34,"props":718,"children":720},{"className":719},[],[721],{"type":18,"value":94},{"type":18,"value":723}," is\n",{"type":13,"tag":34,"props":725,"children":727},{"className":726},[],[728],{"type":18,"value":432},{"type":18,"value":730}," or ",{"type":13,"tag":34,"props":732,"children":734},{"className":733},[],[735],{"type":18,"value":736},"VK_IMAGE_TILING_OPTIMAL",{"type":18,"value":738},", the\n",{"type":13,"tag":34,"props":740,"children":742},{"className":741},[],[743],{"type":18,"value":590},{"type":18,"value":592},{"type":13,"tag":34,"props":746,"children":748},{"className":747},[],[749],{"type":18,"value":371},{"type":18,"value":501},{"type":13,"tag":503,"props":752,"children":753},{"type":521},[],{"type":18,"value":755}," be\n",{"type":13,"tag":34,"props":757,"children":759},{"className":758},[],[760],{"type":18,"value":761},"VK_IMAGE_ASPECT_COLOR_BIT",{"type":13,"tag":538,"props":763,"children":765},{"name":764},"VUID-vkGetImageSubresourceLayout-format-04462",[766],{"type":13,"tag":14,"props":767,"children":768},{},[769,770,775,776,781,783,788,789,794,795,798,800],{"type":18,"value":688},{"type":13,"tag":34,"props":771,"children":773},{"className":772},[],[774],{"type":18,"value":694},{"type":18,"value":696},{"type":13,"tag":34,"props":777,"children":779},{"className":778},[],[780],{"type":18,"value":94},{"type":18,"value":782}," has a depth component, the\n",{"type":13,"tag":34,"props":784,"children":786},{"className":785},[],[787],{"type":18,"value":590},{"type":18,"value":592},{"type":13,"tag":34,"props":790,"children":792},{"className":791},[],[793],{"type":18,"value":371},{"type":18,"value":501},{"type":13,"tag":503,"props":796,"children":797},{"type":521},[],{"type":18,"value":799}," contain\n",{"type":13,"tag":34,"props":801,"children":803},{"className":802},[],[804],{"type":18,"value":805},"VK_IMAGE_ASPECT_DEPTH_BIT",{"type":13,"tag":538,"props":807,"children":809},{"name":808},"VUID-vkGetImageSubresourceLayout-format-04463",[810],{"type":13,"tag":14,"props":811,"children":812},{},[813,814,819,820,825,827,832,833,838,839,842,843],{"type":18,"value":688},{"type":13,"tag":34,"props":815,"children":817},{"className":816},[],[818],{"type":18,"value":694},{"type":18,"value":696},{"type":13,"tag":34,"props":821,"children":823},{"className":822},[],[824],{"type":18,"value":94},{"type":18,"value":826}," has a stencil component, the\n",{"type":13,"tag":34,"props":828,"children":830},{"className":829},[],[831],{"type":18,"value":590},{"type":18,"value":592},{"type":13,"tag":34,"props":834,"children":836},{"className":835},[],[837],{"type":18,"value":371},{"type":18,"value":501},{"type":13,"tag":503,"props":840,"children":841},{"type":521},[],{"type":18,"value":799},{"type":13,"tag":34,"props":844,"children":846},{"className":845},[],[847],{"type":18,"value":848},"VK_IMAGE_ASPECT_STENCIL_BIT",{"type":13,"tag":538,"props":850,"children":852},{"name":851},"VUID-vkGetImageSubresourceLayout-format-04464",[853],{"type":13,"tag":14,"props":854,"children":855},{},[856,857,862,863,868,870,875,876,881,882,885,887,892,893],{"type":18,"value":688},{"type":13,"tag":34,"props":858,"children":860},{"className":859},[],[861],{"type":18,"value":694},{"type":18,"value":696},{"type":13,"tag":34,"props":864,"children":866},{"className":865},[],[867],{"type":18,"value":94},{"type":18,"value":869}," does not contain a stencil or\ndepth component, the ",{"type":13,"tag":34,"props":871,"children":873},{"className":872},[],[874],{"type":18,"value":590},{"type":18,"value":592},{"type":13,"tag":34,"props":877,"children":879},{"className":878},[],[880],{"type":18,"value":371},{"type":18,"value":501},{"type":13,"tag":503,"props":883,"children":884},{"type":521},[],{"type":18,"value":886},"\nnot contain ",{"type":13,"tag":34,"props":888,"children":890},{"className":889},[],[891],{"type":18,"value":805},{"type":18,"value":570},{"type":13,"tag":34,"props":894,"children":896},{"className":895},[],[897],{"type":18,"value":848},{"type":13,"tag":538,"props":899,"children":901},{"name":900},"VUID-vkGetImageSubresourceLayout-tiling-08717",[902],{"type":13,"tag":14,"props":903,"children":904},{},[905,907,912,913,918,919,924,926,931,933,938,939,944,945,948,950,956],{"type":18,"value":906},"If the ",{"type":13,"tag":34,"props":908,"children":910},{"className":909},[],[911],{"type":18,"value":561},{"type":18,"value":696},{"type":13,"tag":34,"props":914,"children":916},{"className":915},[],[917],{"type":18,"value":94},{"type":18,"value":723},{"type":13,"tag":34,"props":920,"children":922},{"className":921},[],[923],{"type":18,"value":432},{"type":18,"value":925}," and has a\n",{"type":13,"tag":375,"props":927,"children":928},{"href":437},[929],{"type":18,"value":930},"multi-planar image\nformat",{"type":18,"value":932},", then the ",{"type":13,"tag":34,"props":934,"children":936},{"className":935},[],[937],{"type":18,"value":590},{"type":18,"value":592},{"type":13,"tag":34,"props":940,"children":942},{"className":941},[],[943],{"type":18,"value":371},{"type":18,"value":501},{"type":13,"tag":503,"props":946,"children":947},{"type":521},[],{"type":18,"value":949},"\nbe a single valid ",{"type":13,"tag":375,"props":951,"children":953},{"href":952},"/chapters/formats#formats-planes-image-aspect",[954],{"type":18,"value":955},"multi-planar aspect\nmask",{"type":18,"value":957}," bit",{"type":13,"tag":538,"props":959,"children":961},{"name":960},"VUID-vkGetImageSubresourceLayout-image-09432",[962],{"type":13,"tag":14,"props":963,"children":964},{},[965,966,971,973,979,981,986,987,990],{"type":18,"value":688},{"type":13,"tag":34,"props":967,"children":969},{"className":968},[],[970],{"type":18,"value":94},{"type":18,"value":972}," was created with the\n",{"type":13,"tag":34,"props":974,"children":976},{"className":975},[],[977],{"type":18,"value":978},"VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID",{"type":18,"value":980},"\nexternal memory handle type, then ",{"type":13,"tag":34,"props":982,"children":984},{"className":983},[],[985],{"type":18,"value":94},{"type":18,"value":501},{"type":13,"tag":503,"props":988,"children":989},{"type":521},[],{"type":18,"value":991}," be bound to memory",{"type":13,"tag":538,"props":993,"children":995},{"name":994},"VUID-vkGetImageSubresourceLayout-tiling-09433",[996],{"type":13,"tag":14,"props":997,"children":998},{},[999,1000,1005,1006,1011,1012,1017,1018,1023,1025,1030,1031,1034,1036,1042,1044,1048,1049,1052,1054,1060,1061,1067,1069,1074,1076,1082,1083],{"type":18,"value":906},{"type":13,"tag":34,"props":1001,"children":1003},{"className":1002},[],[1004],{"type":18,"value":561},{"type":18,"value":696},{"type":13,"tag":34,"props":1007,"children":1009},{"className":1008},[],[1010],{"type":18,"value":94},{"type":18,"value":723},{"type":13,"tag":34,"props":1013,"children":1015},{"className":1014},[],[1016],{"type":18,"value":463},{"type":18,"value":932},{"type":13,"tag":34,"props":1019,"children":1021},{"className":1020},[],[1022],{"type":18,"value":590},{"type":18,"value":1024},"\nmember of ",{"type":13,"tag":34,"props":1026,"children":1028},{"className":1027},[],[1029],{"type":18,"value":371},{"type":18,"value":501},{"type":13,"tag":503,"props":1032,"children":1033},{"type":521},[],{"type":18,"value":1035}," be\nVK_IMAGE_ASPECT_MEMORY_PLANE",{"type":13,"tag":1037,"props":1038,"children":1039},"strong",{},[1040],{"type":18,"value":1041},"i",{"type":18,"value":1043},"BIT_EXT and the index ",{"type":13,"tag":451,"props":1045,"children":1046},{},[1047],{"type":18,"value":1041},{"type":18,"value":501},{"type":13,"tag":503,"props":1050,"children":1051},{"type":521},[],{"type":18,"value":1053},"\nbe less than the\n",{"type":13,"tag":375,"props":1055,"children":1057},{"href":1056},"/man/VkDrmFormatModifierPropertiesEXT",[1058],{"type":18,"value":1059},"VkDrmFormatModifierPropertiesEXT",{"type":18,"value":214},{"type":13,"tag":34,"props":1062,"children":1064},{"className":1063},[],[1065],{"type":18,"value":1066},"drmFormatModifierPlaneCount",{"type":18,"value":1068},"\nassociated with the image’s ",{"type":13,"tag":34,"props":1070,"children":1072},{"className":1071},[],[1073],{"type":18,"value":694},{"type":18,"value":1075}," and\n",{"type":13,"tag":375,"props":1077,"children":1079},{"href":1078},"/man/VkImageDrmFormatModifierPropertiesEXT",[1080],{"type":18,"value":1081},"VkImageDrmFormatModifierPropertiesEXT",{"type":18,"value":214},{"type":13,"tag":34,"props":1084,"children":1086},{"className":1085},[],[1087],{"type":18,"value":1088},"drmFormatModifier",{"type":13,"tag":533,"props":1090,"children":1092},{"name":1091},"Valid Usage (Implicit)",[1093,1119,1143,1167,1190],{"type":13,"tag":538,"props":1094,"children":1096},{"name":1095},"VUID-vkGetImageSubresourceLayout-device-parameter",[1097],{"type":13,"tag":14,"props":1098,"children":1099},{},[1100,1105,1106,1109,1111,1117],{"type":13,"tag":34,"props":1101,"children":1103},{"className":1102},[],[1104],{"type":18,"value":75},{"type":18,"value":501},{"type":13,"tag":503,"props":1107,"children":1108},{"type":521},[],{"type":18,"value":1110}," be a valid ",{"type":13,"tag":375,"props":1112,"children":1114},{"href":1113},"/man/VkDevice",[1115],{"type":18,"value":1116},"VkDevice",{"type":18,"value":1118}," handle",{"type":13,"tag":538,"props":1120,"children":1122},{"name":1121},"VUID-vkGetImageSubresourceLayout-image-parameter",[1123],{"type":13,"tag":14,"props":1124,"children":1125},{},[1126,1131,1132,1135,1136,1142],{"type":13,"tag":34,"props":1127,"children":1129},{"className":1128},[],[1130],{"type":18,"value":94},{"type":18,"value":501},{"type":13,"tag":503,"props":1133,"children":1134},{"type":521},[],{"type":18,"value":1110},{"type":13,"tag":375,"props":1137,"children":1139},{"href":1138},"/man/VkImage",[1140],{"type":18,"value":1141},"VkImage",{"type":18,"value":1118},{"type":13,"tag":538,"props":1144,"children":1146},{"name":1145},"VUID-vkGetImageSubresourceLayout-pSubresource-parameter",[1147],{"type":13,"tag":14,"props":1148,"children":1149},{},[1150,1155,1156,1159,1161,1165],{"type":13,"tag":34,"props":1151,"children":1153},{"className":1152},[],[1154],{"type":18,"value":371},{"type":18,"value":501},{"type":13,"tag":503,"props":1157,"children":1158},{"type":521},[],{"type":18,"value":1160}," be a valid pointer to a valid ",{"type":13,"tag":375,"props":1162,"children":1163},{"href":377},[1164],{"type":18,"value":380},{"type":18,"value":1166}," structure",{"type":13,"tag":538,"props":1168,"children":1170},{"name":1169},"VUID-vkGetImageSubresourceLayout-pLayout-parameter",[1171],{"type":13,"tag":14,"props":1172,"children":1173},{},[1174,1179,1180,1183,1185,1189],{"type":13,"tag":34,"props":1175,"children":1177},{"className":1176},[],[1178],{"type":18,"value":391},{"type":18,"value":501},{"type":13,"tag":503,"props":1181,"children":1182},{"type":521},[],{"type":18,"value":1184}," be a valid pointer to a ",{"type":13,"tag":375,"props":1186,"children":1187},{"href":395},[1188],{"type":18,"value":398},{"type":18,"value":1166},{"type":13,"tag":538,"props":1191,"children":1193},{"name":1192},"VUID-vkGetImageSubresourceLayout-image-parent",[1194],{"type":13,"tag":14,"props":1195,"children":1196},{},[1197,1202,1203,1206,1208],{"type":13,"tag":34,"props":1198,"children":1200},{"className":1199},[],[1201],{"type":18,"value":94},{"type":18,"value":501},{"type":13,"tag":503,"props":1204,"children":1205},{"type":521},[],{"type":18,"value":1207}," have been created, allocated, or retrieved from ",{"type":13,"tag":34,"props":1209,"children":1211},{"className":1210},[],[1212],{"type":18,"value":75},{"type":13,"tag":1214,"props":1215,"children":1216},"style",{},[1217],{"type":18,"value":1218},"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":31,"searchDepth":63,"depth":63,"links":1220},[],"markdown",1725732618683]