[{"data":1,"prerenderedAt":469},["ShallowReactive",2],{"LHECSFF1RF":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":468,"_id":4},"vkGetDeviceImageSubresourceLayoutKHR","Retrieve information about an image subresource without an image object","VK_KHR_maintenance5","protos",[],{"type":10,"children":11,"toc":466},"root",[12,20,291,344,378,460],{"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, without an image object,\ncall:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,132],{"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 vkGetDeviceImageSubresourceLayoutKHR(\n VkDevice device,\n const VkDeviceImageSubresourceInfoKHR* pInfo,\n VkSubresourceLayout2KHR* pLayout);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,61,81,109],{"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}," vkGetDeviceImageSubresourceLayoutKHR",{"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,100,105],{"type":13,"tag":38,"props":86,"children":87},{"style":45},[88],{"type":18,"value":89}," const",{"type":13,"tag":38,"props":91,"children":92},{"style":57},[93],{"type":18,"value":94}," VkDeviceImageSubresourceInfoKHR",{"type":13,"tag":38,"props":96,"children":97},{"style":45},[98],{"type":18,"value":99},"*",{"type":13,"tag":38,"props":101,"children":102},{"style":72},[103],{"type":18,"value":104}," pInfo",{"type":13,"tag":38,"props":106,"children":107},{"style":57},[108],{"type":18,"value":80},{"type":13,"tag":38,"props":110,"children":112},{"class":40,"line":111},4,[113,118,122,127],{"type":13,"tag":38,"props":114,"children":115},{"style":57},[116],{"type":18,"value":117}," VkSubresourceLayout2KHR",{"type":13,"tag":38,"props":119,"children":120},{"style":45},[121],{"type":18,"value":99},{"type":13,"tag":38,"props":123,"children":124},{"style":72},[125],{"type":18,"value":126}," pLayout",{"type":13,"tag":38,"props":128,"children":129},{"style":57},[130],{"type":18,"value":131},");\n",{"type":13,"tag":25,"props":133,"children":138},{"className":134,"code":135,"filename":136,"language":137,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_device_image_subresource_layout_khr(\n device: crate :: vk :: vk::Device,\n p_info: *const vk::DeviceImageSubresourceInfoKHR,\n p_layout: *mut vk::SubresourceLayout2KHR,\n);\n","Rust","rs",[139],{"type":13,"tag":34,"props":140,"children":141},{"__ignoreMap":31},[142,164,215,249,283],{"type":13,"tag":38,"props":143,"children":144},{"class":40,"line":41},[145,150,155,160],{"type":13,"tag":38,"props":146,"children":147},{"style":45},[148],{"type":18,"value":149},"pub",{"type":13,"tag":38,"props":151,"children":152},{"style":45},[153],{"type":18,"value":154}," fn",{"type":13,"tag":38,"props":156,"children":157},{"style":51},[158],{"type":18,"value":159}," get_device_image_subresource_layout_khr",{"type":13,"tag":38,"props":161,"children":162},{"style":57},[163],{"type":18,"value":60},{"type":13,"tag":38,"props":165,"children":166},{"class":40,"line":63},[167,172,177,182,187,192,197,202,206,211],{"type":13,"tag":38,"props":168,"children":169},{"style":57},[170],{"type":18,"value":171}," device",{"type":13,"tag":38,"props":173,"children":174},{"style":45},[175],{"type":18,"value":176},":",{"type":13,"tag":38,"props":178,"children":179},{"style":45},[180],{"type":18,"value":181}," crate",{"type":13,"tag":38,"props":183,"children":184},{"style":45},[185],{"type":18,"value":186}," ::",{"type":13,"tag":38,"props":188,"children":189},{"style":57},[190],{"type":18,"value":191}," vk ",{"type":13,"tag":38,"props":193,"children":194},{"style":45},[195],{"type":18,"value":196},"::",{"type":13,"tag":38,"props":198,"children":199},{"style":72},[200],{"type":18,"value":201}," vk",{"type":13,"tag":38,"props":203,"children":204},{"style":45},[205],{"type":18,"value":196},{"type":13,"tag":38,"props":207,"children":208},{"style":72},[209],{"type":18,"value":210},"Device",{"type":13,"tag":38,"props":212,"children":213},{"style":57},[214],{"type":18,"value":80},{"type":13,"tag":38,"props":216,"children":217},{"class":40,"line":83},[218,223,227,232,236,240,245],{"type":13,"tag":38,"props":219,"children":220},{"style":57},[221],{"type":18,"value":222}," p_info",{"type":13,"tag":38,"props":224,"children":225},{"style":45},[226],{"type":18,"value":176},{"type":13,"tag":38,"props":228,"children":229},{"style":45},[230],{"type":18,"value":231}," *const",{"type":13,"tag":38,"props":233,"children":234},{"style":72},[235],{"type":18,"value":201},{"type":13,"tag":38,"props":237,"children":238},{"style":45},[239],{"type":18,"value":196},{"type":13,"tag":38,"props":241,"children":242},{"style":72},[243],{"type":18,"value":244},"DeviceImageSubresourceInfoKHR",{"type":13,"tag":38,"props":246,"children":247},{"style":57},[248],{"type":18,"value":80},{"type":13,"tag":38,"props":250,"children":251},{"class":40,"line":111},[252,257,261,266,270,274,279],{"type":13,"tag":38,"props":253,"children":254},{"style":57},[255],{"type":18,"value":256}," p_layout",{"type":13,"tag":38,"props":258,"children":259},{"style":45},[260],{"type":18,"value":176},{"type":13,"tag":38,"props":262,"children":263},{"style":45},[264],{"type":18,"value":265}," *mut",{"type":13,"tag":38,"props":267,"children":268},{"style":72},[269],{"type":18,"value":201},{"type":13,"tag":38,"props":271,"children":272},{"style":45},[273],{"type":18,"value":196},{"type":13,"tag":38,"props":275,"children":276},{"style":72},[277],{"type":18,"value":278},"SubresourceLayout2KHR",{"type":13,"tag":38,"props":280,"children":281},{"style":57},[282],{"type":18,"value":80},{"type":13,"tag":38,"props":284,"children":286},{"class":40,"line":285},5,[287],{"type":13,"tag":38,"props":288,"children":289},{"style":57},[290],{"type":18,"value":131},{"type":13,"tag":292,"props":293,"children":294},"ul",{},[295,306,326],{"type":13,"tag":296,"props":297,"children":298},"li",{},[299,304],{"type":13,"tag":34,"props":300,"children":302},{"className":301},[],[303],{"type":18,"value":75},{"type":18,"value":305}," is the logical device that owns the image.",{"type":13,"tag":296,"props":307,"children":308},{},[309,315,317,324],{"type":13,"tag":34,"props":310,"children":312},{"className":311},[],[313],{"type":18,"value":314},"pInfo",{"type":18,"value":316}," is a pointer to a ",{"type":13,"tag":318,"props":319,"children":321},"a",{"href":320},"/man/VkDeviceImageSubresourceInfoKHR",[322],{"type":18,"value":323},"VkDeviceImageSubresourceInfoKHR",{"type":18,"value":325},"\nstructure containing parameters required for the subresource layout\nquery.",{"type":13,"tag":296,"props":327,"children":328},{},[329,335,336,342],{"type":13,"tag":34,"props":330,"children":332},{"className":331},[],[333],{"type":18,"value":334},"pLayout",{"type":18,"value":316},{"type":13,"tag":318,"props":337,"children":339},{"href":338},"/man/VkSubresourceLayout2KHR",[340],{"type":18,"value":341},"VkSubresourceLayout2KHR",{"type":18,"value":343}," structure\nin which the layout is returned.",{"type":13,"tag":14,"props":345,"children":346},{},[347,352,354,360,362,368,370,376],{"type":13,"tag":34,"props":348,"children":350},{"className":349},[],[351],{"type":18,"value":4},{"type":18,"value":353}," behaves similarly to\n",{"type":13,"tag":318,"props":355,"children":357},{"href":356},"/man/vkGetImageSubresourceLayout2KHR",[358],{"type":18,"value":359},"vkGetImageSubresourceLayout2KHR",{"type":18,"value":361},", but uses a ",{"type":13,"tag":318,"props":363,"children":365},{"href":364},"/man/VkImageCreateInfo",[366],{"type":18,"value":367},"VkImageCreateInfo",{"type":18,"value":369},"\nstructure to specify the image rather than a ",{"type":13,"tag":318,"props":371,"children":373},{"href":372},"/man/VkImage",[374],{"type":18,"value":375},"VkImage",{"type":18,"value":377}," object.",{"type":13,"tag":379,"props":380,"children":382},"validity-group",{"name":381},"Valid Usage (Implicit)",[383,413,437],{"type":13,"tag":384,"props":385,"children":387},"validity-field",{"name":386},"VUID-vkGetDeviceImageSubresourceLayoutKHR-device-parameter",[388],{"type":13,"tag":14,"props":389,"children":390},{},[391,396,398,403,405,411],{"type":13,"tag":34,"props":392,"children":394},{"className":393},[],[395],{"type":18,"value":75},{"type":18,"value":397}," ",{"type":13,"tag":399,"props":400,"children":402},"normative",{"type":401},"must",[],{"type":18,"value":404}," be a valid ",{"type":13,"tag":318,"props":406,"children":408},{"href":407},"/man/VkDevice",[409],{"type":18,"value":410},"VkDevice",{"type":18,"value":412}," handle",{"type":13,"tag":384,"props":414,"children":416},{"name":415},"VUID-vkGetDeviceImageSubresourceLayoutKHR-pInfo-parameter",[417],{"type":13,"tag":14,"props":418,"children":419},{},[420,425,426,429,431,435],{"type":13,"tag":34,"props":421,"children":423},{"className":422},[],[424],{"type":18,"value":314},{"type":18,"value":397},{"type":13,"tag":399,"props":427,"children":428},{"type":401},[],{"type":18,"value":430}," be a valid pointer to a valid ",{"type":13,"tag":318,"props":432,"children":433},{"href":320},[434],{"type":18,"value":323},{"type":18,"value":436}," structure",{"type":13,"tag":384,"props":438,"children":440},{"name":439},"VUID-vkGetDeviceImageSubresourceLayoutKHR-pLayout-parameter",[441],{"type":13,"tag":14,"props":442,"children":443},{},[444,449,450,453,455,459],{"type":13,"tag":34,"props":445,"children":447},{"className":446},[],[448],{"type":18,"value":334},{"type":18,"value":397},{"type":13,"tag":399,"props":451,"children":452},{"type":401},[],{"type":18,"value":454}," be a valid pointer to a ",{"type":13,"tag":318,"props":456,"children":457},{"href":338},[458],{"type":18,"value":341},{"type":18,"value":436},{"type":13,"tag":461,"props":462,"children":463},"style",{},[464],{"type":18,"value":465},"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":467},[],"markdown",1725732617639]