[{"data":1,"prerenderedAt":427},["ShallowReactive",2],{"3BZRriYcdy":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":426,"_id":4},"VkRectLayerKHR","Structure containing a rectangle, including layer, changed by vkQueuePresentKHR for a given VkImage","VK_KHR_incremental_present","structs",[],{"type":10,"children":11,"toc":424},"root",[12,28,248,300,312,418],{"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,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 VkRectLayerKHR {\n VkOffset2D offset;\n VkExtent2D extent;\n uint32_t layer;\n} VkRectLayerKHR;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,85,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}," VkRectLayerKHR {\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}," VkOffset2D offset;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80],{"type":13,"tag":45,"props":81,"children":82},{"style":63},[83],{"type":18,"value":84}," VkExtent2D extent;\n",{"type":13,"tag":45,"props":86,"children":88},{"class":47,"line":87},4,[89,94],{"type":13,"tag":45,"props":90,"children":91},{"style":52},[92],{"type":18,"value":93}," uint32_t",{"type":13,"tag":45,"props":95,"children":96},{"style":63},[97],{"type":18,"value":98}," layer;\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},"} VkRectLayerKHR;\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 RectLayerKHR {\n offset: vk::Offset2D, // upper-left corner of a rectangle that has not changed, in pixels of a presentation images\n extent: vk::Extent2D, // Dimensions of a rectangle that has not changed, in pixels of a presentation images\n layer: u32, // Layer of a swapchain's image(s), for stereoscopic-3D images\n}\n","Rust","rs",[115],{"type":13,"tag":21,"props":116,"children":117},{"__ignoreMap":39},[118,141,180,214,240],{"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}," RectLayerKHR",{"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,174],{"type":13,"tag":45,"props":145,"children":146},{"style":63},[147],{"type":18,"value":148}," offset",{"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},"Offset2D",{"type":13,"tag":45,"props":170,"children":171},{"style":63},[172],{"type":18,"value":173},", ",{"type":13,"tag":45,"props":175,"children":177},{"style":176},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[178],{"type":18,"value":179},"// upper-left corner of a rectangle that has not changed, in pixels of a presentation images\n",{"type":13,"tag":45,"props":181,"children":182},{"class":47,"line":78},[183,188,192,196,200,205,209],{"type":13,"tag":45,"props":184,"children":185},{"style":63},[186],{"type":18,"value":187}," extent",{"type":13,"tag":45,"props":189,"children":190},{"style":52},[191],{"type":18,"value":153},{"type":13,"tag":45,"props":193,"children":194},{"style":132},[195],{"type":18,"value":158},{"type":13,"tag":45,"props":197,"children":198},{"style":52},[199],{"type":18,"value":163},{"type":13,"tag":45,"props":201,"children":202},{"style":132},[203],{"type":18,"value":204},"Extent2D",{"type":13,"tag":45,"props":206,"children":207},{"style":63},[208],{"type":18,"value":173},{"type":13,"tag":45,"props":210,"children":211},{"style":176},[212],{"type":18,"value":213},"// Dimensions of a rectangle that has not changed, in pixels of a presentation images\n",{"type":13,"tag":45,"props":215,"children":216},{"class":47,"line":87},[217,222,226,231,235],{"type":13,"tag":45,"props":218,"children":219},{"style":63},[220],{"type":18,"value":221}," layer",{"type":13,"tag":45,"props":223,"children":224},{"style":52},[225],{"type":18,"value":153},{"type":13,"tag":45,"props":227,"children":228},{"style":132},[229],{"type":18,"value":230}," u32",{"type":13,"tag":45,"props":232,"children":233},{"style":63},[234],{"type":18,"value":173},{"type":13,"tag":45,"props":236,"children":237},{"style":176},[238],{"type":18,"value":239},"// Layer of a swapchain's image(s), for stereoscopic-3D images\n",{"type":13,"tag":45,"props":241,"children":242},{"class":47,"line":101},[243],{"type":13,"tag":45,"props":244,"children":245},{"style":63},[246],{"type":18,"value":247},"}\n",{"type":13,"tag":249,"props":250,"children":251},"ul",{},[252,264,275],{"type":13,"tag":253,"props":254,"children":255},"li",{},[256,262],{"type":13,"tag":21,"props":257,"children":259},{"className":258},[],[260],{"type":18,"value":261},"offset",{"type":18,"value":263}," is the origin of the rectangle, in pixels.",{"type":13,"tag":253,"props":265,"children":266},{},[267,273],{"type":13,"tag":21,"props":268,"children":270},{"className":269},[],[271],{"type":18,"value":272},"extent",{"type":18,"value":274}," is the size of the rectangle, in pixels.",{"type":13,"tag":253,"props":276,"children":277},{},[278,284,286,291,293,298],{"type":13,"tag":21,"props":279,"children":281},{"className":280},[],[282],{"type":18,"value":283},"layer",{"type":18,"value":285}," is the layer of the image.\nFor images with only one layer, the value of ",{"type":13,"tag":21,"props":287,"children":289},{"className":288},[],[290],{"type":18,"value":283},{"type":18,"value":292}," ",{"type":13,"tag":294,"props":295,"children":297},"normative",{"type":296},"must",[],{"type":18,"value":299}," be 0.",{"type":13,"tag":14,"props":301,"children":302},{},[303,305,310],{"type":18,"value":304},"Some platforms allow the size of a surface to change, and then scale the\npixels of the image to fit the surface.\n",{"type":13,"tag":21,"props":306,"children":308},{"className":307},[],[309],{"type":18,"value":4},{"type":18,"value":311}," specifies pixels of the swapchain’s image(s), which\nwill be constant for the life of the swapchain.",{"type":13,"tag":313,"props":314,"children":316},"validity-group",{"name":315},"Valid Usage",[317,383],{"type":13,"tag":318,"props":319,"children":321},"validity-field",{"name":320},"VUID-VkRectLayerKHR-offset-04864",[322],{"type":13,"tag":14,"props":323,"children":324},{},[325,327,332,334,339,341,347,349,356,358,361,363,369,371,375,377],{"type":18,"value":326},"The sum of ",{"type":13,"tag":21,"props":328,"children":330},{"className":329},[],[331],{"type":18,"value":261},{"type":18,"value":333}," and ",{"type":13,"tag":21,"props":335,"children":337},{"className":336},[],[338],{"type":18,"value":272},{"type":18,"value":340},", after being transformed\naccording to the ",{"type":13,"tag":21,"props":342,"children":344},{"className":343},[],[345],{"type":18,"value":346},"preTransform",{"type":18,"value":348}," member of the\n",{"type":13,"tag":350,"props":351,"children":353},"a",{"href":352},"/man/VkSwapchainCreateInfoKHR",[354],{"type":18,"value":355},"VkSwapchainCreateInfoKHR",{"type":18,"value":357}," structure, ",{"type":13,"tag":294,"props":359,"children":360},{"type":296},[],{"type":18,"value":362}," be no greater than the\n",{"type":13,"tag":21,"props":364,"children":366},{"className":365},[],[367],{"type":18,"value":368},"imageExtent",{"type":18,"value":370}," member of the ",{"type":13,"tag":350,"props":372,"children":373},{"href":352},[374],{"type":18,"value":355},{"type":18,"value":376}," structure\npassed to ",{"type":13,"tag":350,"props":378,"children":380},{"href":379},"/man/vkCreateSwapchainKHR",[381],{"type":18,"value":382},"vkCreateSwapchainKHR",{"type":13,"tag":318,"props":384,"children":386},{"name":385},"VUID-VkRectLayerKHR-layer-01262",[387],{"type":13,"tag":14,"props":388,"children":389},{},[390,395,396,399,401,407,408,412,414],{"type":13,"tag":21,"props":391,"children":393},{"className":392},[],[394],{"type":18,"value":283},{"type":18,"value":292},{"type":13,"tag":294,"props":397,"children":398},{"type":296},[],{"type":18,"value":400}," be less than the ",{"type":13,"tag":21,"props":402,"children":404},{"className":403},[],[405],{"type":18,"value":406},"imageArrayLayers",{"type":18,"value":348},{"type":13,"tag":350,"props":409,"children":410},{"href":352},[411],{"type":18,"value":355},{"type":18,"value":413}," structure passed to\n",{"type":13,"tag":350,"props":415,"children":416},{"href":379},[417],{"type":18,"value":382},{"type":13,"tag":419,"props":420,"children":421},"style",{},[422],{"type":18,"value":423},"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":425},[],"markdown",1725732582438]