[{"data":1,"prerenderedAt":847},["ShallowReactive",2],{"ntjxF3djwz":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":846,"_id":4},"VkDisplayPlaneCapabilitiesKHR","Structure describing capabilities of a mode and plane combination","VK_KHR_display","structs",[],{"type":10,"children":11,"toc":844},"root",[12,28,469,654,695,734,799,821,838],{"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,157],{"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 VkDisplayPlaneCapabilitiesKHR {\n VkDisplayPlaneAlphaFlagsKHR supportedAlpha;\n VkOffset2D minSrcPosition;\n VkOffset2D maxSrcPosition;\n VkExtent2D minSrcExtent;\n VkExtent2D maxSrcExtent;\n VkOffset2D minDstPosition;\n VkOffset2D maxDstPosition;\n VkExtent2D minDstExtent;\n VkExtent2D maxDstExtent;\n} VkDisplayPlaneCapabilitiesKHR;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,85,94,103,112,121,130,139,148],{"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}," VkDisplayPlaneCapabilitiesKHR {\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}," VkDisplayPlaneAlphaFlagsKHR supportedAlpha;\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}," VkOffset2D minSrcPosition;\n",{"type":13,"tag":45,"props":86,"children":88},{"class":47,"line":87},4,[89],{"type":13,"tag":45,"props":90,"children":91},{"style":63},[92],{"type":18,"value":93}," VkOffset2D maxSrcPosition;\n",{"type":13,"tag":45,"props":95,"children":97},{"class":47,"line":96},5,[98],{"type":13,"tag":45,"props":99,"children":100},{"style":63},[101],{"type":18,"value":102}," VkExtent2D minSrcExtent;\n",{"type":13,"tag":45,"props":104,"children":106},{"class":47,"line":105},6,[107],{"type":13,"tag":45,"props":108,"children":109},{"style":63},[110],{"type":18,"value":111}," VkExtent2D maxSrcExtent;\n",{"type":13,"tag":45,"props":113,"children":115},{"class":47,"line":114},7,[116],{"type":13,"tag":45,"props":117,"children":118},{"style":63},[119],{"type":18,"value":120}," VkOffset2D minDstPosition;\n",{"type":13,"tag":45,"props":122,"children":124},{"class":47,"line":123},8,[125],{"type":13,"tag":45,"props":126,"children":127},{"style":63},[128],{"type":18,"value":129}," VkOffset2D maxDstPosition;\n",{"type":13,"tag":45,"props":131,"children":133},{"class":47,"line":132},9,[134],{"type":13,"tag":45,"props":135,"children":136},{"style":63},[137],{"type":18,"value":138}," VkExtent2D minDstExtent;\n",{"type":13,"tag":45,"props":140,"children":142},{"class":47,"line":141},10,[143],{"type":13,"tag":45,"props":144,"children":145},{"style":63},[146],{"type":18,"value":147}," VkExtent2D maxDstExtent;\n",{"type":13,"tag":45,"props":149,"children":151},{"class":47,"line":150},11,[152],{"type":13,"tag":45,"props":153,"children":154},{"style":63},[155],{"type":18,"value":156},"} VkDisplayPlaneCapabilitiesKHR;\n",{"type":13,"tag":33,"props":158,"children":163},{"className":159,"code":160,"filename":161,"language":162,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct DisplayPlaneCapabilitiesKHR {\n supported_alpha: vk::DisplayPlaneAlphaFlagsKHR, // Types of alpha blending supported, if any.\n min_src_position: vk::Offset2D, // Does the plane have any position and extent restrictions?\n max_src_position: vk::Offset2D,\n min_src_extent: vk::Extent2D,\n max_src_extent: vk::Extent2D,\n min_dst_position: vk::Offset2D,\n max_dst_position: vk::Offset2D,\n min_dst_extent: vk::Extent2D,\n max_dst_extent: vk::Extent2D,\n}\n","Rust","rs",[164],{"type":13,"tag":21,"props":165,"children":166},{"__ignoreMap":39},[167,190,229,263,292,321,349,377,405,433,461],{"type":13,"tag":45,"props":168,"children":169},{"class":47,"line":48},[170,175,179,185],{"type":13,"tag":45,"props":171,"children":172},{"style":52},[173],{"type":18,"value":174},"pub",{"type":13,"tag":45,"props":176,"children":177},{"style":52},[178],{"type":18,"value":60},{"type":13,"tag":45,"props":180,"children":182},{"style":181},"--shiki-default:#953800;--shiki-dark:#FFA657",[183],{"type":18,"value":184}," DisplayPlaneCapabilitiesKHR",{"type":13,"tag":45,"props":186,"children":187},{"style":63},[188],{"type":18,"value":189}," {\n",{"type":13,"tag":45,"props":191,"children":192},{"class":47,"line":69},[193,198,203,208,213,218,223],{"type":13,"tag":45,"props":194,"children":195},{"style":63},[196],{"type":18,"value":197}," supported_alpha",{"type":13,"tag":45,"props":199,"children":200},{"style":52},[201],{"type":18,"value":202},":",{"type":13,"tag":45,"props":204,"children":205},{"style":181},[206],{"type":18,"value":207}," vk",{"type":13,"tag":45,"props":209,"children":210},{"style":52},[211],{"type":18,"value":212},"::",{"type":13,"tag":45,"props":214,"children":215},{"style":181},[216],{"type":18,"value":217},"DisplayPlaneAlphaFlagsKHR",{"type":13,"tag":45,"props":219,"children":220},{"style":63},[221],{"type":18,"value":222},", ",{"type":13,"tag":45,"props":224,"children":226},{"style":225},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[227],{"type":18,"value":228},"// Types of alpha blending supported, if any.\n",{"type":13,"tag":45,"props":230,"children":231},{"class":47,"line":78},[232,237,241,245,249,254,258],{"type":13,"tag":45,"props":233,"children":234},{"style":63},[235],{"type":18,"value":236}," min_src_position",{"type":13,"tag":45,"props":238,"children":239},{"style":52},[240],{"type":18,"value":202},{"type":13,"tag":45,"props":242,"children":243},{"style":181},[244],{"type":18,"value":207},{"type":13,"tag":45,"props":246,"children":247},{"style":52},[248],{"type":18,"value":212},{"type":13,"tag":45,"props":250,"children":251},{"style":181},[252],{"type":18,"value":253},"Offset2D",{"type":13,"tag":45,"props":255,"children":256},{"style":63},[257],{"type":18,"value":222},{"type":13,"tag":45,"props":259,"children":260},{"style":225},[261],{"type":18,"value":262},"// Does the plane have any position and extent restrictions?\n",{"type":13,"tag":45,"props":264,"children":265},{"class":47,"line":87},[266,271,275,279,283,287],{"type":13,"tag":45,"props":267,"children":268},{"style":63},[269],{"type":18,"value":270}," max_src_position",{"type":13,"tag":45,"props":272,"children":273},{"style":52},[274],{"type":18,"value":202},{"type":13,"tag":45,"props":276,"children":277},{"style":181},[278],{"type":18,"value":207},{"type":13,"tag":45,"props":280,"children":281},{"style":52},[282],{"type":18,"value":212},{"type":13,"tag":45,"props":284,"children":285},{"style":181},[286],{"type":18,"value":253},{"type":13,"tag":45,"props":288,"children":289},{"style":63},[290],{"type":18,"value":291},",\n",{"type":13,"tag":45,"props":293,"children":294},{"class":47,"line":96},[295,300,304,308,312,317],{"type":13,"tag":45,"props":296,"children":297},{"style":63},[298],{"type":18,"value":299}," min_src_extent",{"type":13,"tag":45,"props":301,"children":302},{"style":52},[303],{"type":18,"value":202},{"type":13,"tag":45,"props":305,"children":306},{"style":181},[307],{"type":18,"value":207},{"type":13,"tag":45,"props":309,"children":310},{"style":52},[311],{"type":18,"value":212},{"type":13,"tag":45,"props":313,"children":314},{"style":181},[315],{"type":18,"value":316},"Extent2D",{"type":13,"tag":45,"props":318,"children":319},{"style":63},[320],{"type":18,"value":291},{"type":13,"tag":45,"props":322,"children":323},{"class":47,"line":105},[324,329,333,337,341,345],{"type":13,"tag":45,"props":325,"children":326},{"style":63},[327],{"type":18,"value":328}," max_src_extent",{"type":13,"tag":45,"props":330,"children":331},{"style":52},[332],{"type":18,"value":202},{"type":13,"tag":45,"props":334,"children":335},{"style":181},[336],{"type":18,"value":207},{"type":13,"tag":45,"props":338,"children":339},{"style":52},[340],{"type":18,"value":212},{"type":13,"tag":45,"props":342,"children":343},{"style":181},[344],{"type":18,"value":316},{"type":13,"tag":45,"props":346,"children":347},{"style":63},[348],{"type":18,"value":291},{"type":13,"tag":45,"props":350,"children":351},{"class":47,"line":114},[352,357,361,365,369,373],{"type":13,"tag":45,"props":353,"children":354},{"style":63},[355],{"type":18,"value":356}," min_dst_position",{"type":13,"tag":45,"props":358,"children":359},{"style":52},[360],{"type":18,"value":202},{"type":13,"tag":45,"props":362,"children":363},{"style":181},[364],{"type":18,"value":207},{"type":13,"tag":45,"props":366,"children":367},{"style":52},[368],{"type":18,"value":212},{"type":13,"tag":45,"props":370,"children":371},{"style":181},[372],{"type":18,"value":253},{"type":13,"tag":45,"props":374,"children":375},{"style":63},[376],{"type":18,"value":291},{"type":13,"tag":45,"props":378,"children":379},{"class":47,"line":123},[380,385,389,393,397,401],{"type":13,"tag":45,"props":381,"children":382},{"style":63},[383],{"type":18,"value":384}," max_dst_position",{"type":13,"tag":45,"props":386,"children":387},{"style":52},[388],{"type":18,"value":202},{"type":13,"tag":45,"props":390,"children":391},{"style":181},[392],{"type":18,"value":207},{"type":13,"tag":45,"props":394,"children":395},{"style":52},[396],{"type":18,"value":212},{"type":13,"tag":45,"props":398,"children":399},{"style":181},[400],{"type":18,"value":253},{"type":13,"tag":45,"props":402,"children":403},{"style":63},[404],{"type":18,"value":291},{"type":13,"tag":45,"props":406,"children":407},{"class":47,"line":132},[408,413,417,421,425,429],{"type":13,"tag":45,"props":409,"children":410},{"style":63},[411],{"type":18,"value":412}," min_dst_extent",{"type":13,"tag":45,"props":414,"children":415},{"style":52},[416],{"type":18,"value":202},{"type":13,"tag":45,"props":418,"children":419},{"style":181},[420],{"type":18,"value":207},{"type":13,"tag":45,"props":422,"children":423},{"style":52},[424],{"type":18,"value":212},{"type":13,"tag":45,"props":426,"children":427},{"style":181},[428],{"type":18,"value":316},{"type":13,"tag":45,"props":430,"children":431},{"style":63},[432],{"type":18,"value":291},{"type":13,"tag":45,"props":434,"children":435},{"class":47,"line":141},[436,441,445,449,453,457],{"type":13,"tag":45,"props":437,"children":438},{"style":63},[439],{"type":18,"value":440}," max_dst_extent",{"type":13,"tag":45,"props":442,"children":443},{"style":52},[444],{"type":18,"value":202},{"type":13,"tag":45,"props":446,"children":447},{"style":181},[448],{"type":18,"value":207},{"type":13,"tag":45,"props":450,"children":451},{"style":52},[452],{"type":18,"value":212},{"type":13,"tag":45,"props":454,"children":455},{"style":181},[456],{"type":18,"value":316},{"type":13,"tag":45,"props":458,"children":459},{"style":63},[460],{"type":18,"value":291},{"type":13,"tag":45,"props":462,"children":463},{"class":47,"line":150},[464],{"type":13,"tag":45,"props":465,"children":466},{"style":63},[467],{"type":18,"value":468},"}\n",{"type":13,"tag":470,"props":471,"children":472},"ul",{},[473,494,505,566,577,588],{"type":13,"tag":474,"props":475,"children":476},"li",{},[477,483,485,492],{"type":13,"tag":21,"props":478,"children":480},{"className":479},[],[481],{"type":18,"value":482},"supportedAlpha",{"type":18,"value":484}," is a bitmask of\n",{"type":13,"tag":486,"props":487,"children":489},"a",{"href":488},"/man/VkDisplayPlaneAlphaFlagBitsKHR",[490],{"type":18,"value":491},"VkDisplayPlaneAlphaFlagBitsKHR",{"type":18,"value":493}," describing the supported alpha\nblending modes.",{"type":13,"tag":474,"props":495,"children":496},{},[497,503],{"type":13,"tag":21,"props":498,"children":500},{"className":499},[],[501],{"type":18,"value":502},"minSrcPosition",{"type":18,"value":504}," is the minimum source rectangle offset supported by\nthis plane using the specified mode.",{"type":13,"tag":474,"props":506,"children":507},{},[508,514,516,522,524,530,532,537,539,544,546,551,552,557,559,564],{"type":13,"tag":21,"props":509,"children":511},{"className":510},[],[512],{"type":18,"value":513},"maxSrcPosition",{"type":18,"value":515}," is the maximum source rectangle offset supported by\nthis plane using the specified mode.\nThe ",{"type":13,"tag":21,"props":517,"children":519},{"className":518},[],[520],{"type":18,"value":521},"x",{"type":18,"value":523}," and ",{"type":13,"tag":21,"props":525,"children":527},{"className":526},[],[528],{"type":18,"value":529},"y",{"type":18,"value":531}," components of ",{"type":13,"tag":21,"props":533,"children":535},{"className":534},[],[536],{"type":18,"value":513},{"type":18,"value":538}," ",{"type":13,"tag":540,"props":541,"children":543},"normative",{"type":542},"must",[],{"type":18,"value":545}," each be\ngreater than or equal to the ",{"type":13,"tag":21,"props":547,"children":549},{"className":548},[],[550],{"type":18,"value":521},{"type":18,"value":523},{"type":13,"tag":21,"props":553,"children":555},{"className":554},[],[556],{"type":18,"value":529},{"type":18,"value":558}," components of\n",{"type":13,"tag":21,"props":560,"children":562},{"className":561},[],[563],{"type":18,"value":502},{"type":18,"value":565},", respectively.",{"type":13,"tag":474,"props":567,"children":568},{},[569,575],{"type":13,"tag":21,"props":570,"children":572},{"className":571},[],[573],{"type":18,"value":574},"minSrcExtent",{"type":18,"value":576}," is the minimum source rectangle size supported by\nthis plane using the specified mode.",{"type":13,"tag":474,"props":578,"children":579},{},[580,586],{"type":13,"tag":21,"props":581,"children":583},{"className":582},[],[584],{"type":18,"value":585},"maxSrcExtent",{"type":18,"value":587}," is the maximum source rectangle size supported by\nthis plane using the specified mode.",{"type":13,"tag":474,"props":589,"children":590},{},[591,597,598,604,605,611,612,618,620,626,628,633,635,640,642,647,648,652],{"type":13,"tag":21,"props":592,"children":594},{"className":593},[],[595],{"type":18,"value":596},"minDstPosition",{"type":18,"value":222},{"type":13,"tag":21,"props":599,"children":601},{"className":600},[],[602],{"type":18,"value":603},"maxDstPosition",{"type":18,"value":222},{"type":13,"tag":21,"props":606,"children":608},{"className":607},[],[609],{"type":18,"value":610},"minDstExtent",{"type":18,"value":291},{"type":13,"tag":21,"props":613,"children":615},{"className":614},[],[616],{"type":18,"value":617},"maxDstExtent",{"type":18,"value":619}," all have similar semantics to their corresponding\n",{"type":13,"tag":21,"props":621,"children":623},{"className":622},[],[624],{"type":18,"value":625},"*Src*",{"type":18,"value":627}," equivalents, but apply to the output region within the mode\nrather than the input region within the source image.\nUnlike the ",{"type":13,"tag":21,"props":629,"children":631},{"className":630},[],[632],{"type":18,"value":625},{"type":18,"value":634}," offsets, ",{"type":13,"tag":21,"props":636,"children":638},{"className":637},[],[639],{"type":18,"value":596},{"type":18,"value":641}," and\n",{"type":13,"tag":21,"props":643,"children":645},{"className":644},[],[646],{"type":18,"value":603},{"type":18,"value":538},{"type":13,"tag":540,"props":649,"children":651},{"type":650},"may",[],{"type":18,"value":653}," contain negative values.",{"type":13,"tag":14,"props":655,"children":656},{},[657,659,662,664,669,670,675,676,681,683,688,690,693],{"type":18,"value":658},"The minimum and maximum position and extent fields describe the\nimplementation limits, if any, as they apply to the specified display mode\nand plane.\nVendors ",{"type":13,"tag":540,"props":660,"children":661},{"type":650},[],{"type":18,"value":663}," support displaying a subset of a swapchain’s presentable images\non the specified display plane.\nThis is expressed by returning ",{"type":13,"tag":21,"props":665,"children":667},{"className":666},[],[668],{"type":18,"value":502},{"type":18,"value":222},{"type":13,"tag":21,"props":671,"children":673},{"className":672},[],[674],{"type":18,"value":513},{"type":18,"value":291},{"type":13,"tag":21,"props":677,"children":679},{"className":678},[],[680],{"type":18,"value":574},{"type":18,"value":682},", and ",{"type":13,"tag":21,"props":684,"children":686},{"className":685},[],[687],{"type":18,"value":585},{"type":18,"value":689}," values that indicate a range of\npossible positions and sizes which ",{"type":13,"tag":540,"props":691,"children":692},{"type":650},[],{"type":18,"value":694}," be used to specify the region within\nthe presentable images that source pixels will be read from when creating a\nswapchain on the specified display mode and plane.",{"type":13,"tag":14,"props":696,"children":697},{},[698,700,703,705,710,711,716,717,722,723,728,729,732],{"type":18,"value":699},"Vendors ",{"type":13,"tag":540,"props":701,"children":702},{"type":650},[],{"type":18,"value":704}," also support mapping the presentable images’ content to a\nsubset or superset of the visible region in the specified display mode.\nThis is expressed by returning ",{"type":13,"tag":21,"props":706,"children":708},{"className":707},[],[709],{"type":18,"value":596},{"type":18,"value":222},{"type":13,"tag":21,"props":712,"children":714},{"className":713},[],[715],{"type":18,"value":603},{"type":18,"value":291},{"type":13,"tag":21,"props":718,"children":720},{"className":719},[],[721],{"type":18,"value":610},{"type":18,"value":523},{"type":13,"tag":21,"props":724,"children":726},{"className":725},[],[727],{"type":18,"value":617},{"type":18,"value":689},{"type":13,"tag":540,"props":730,"children":731},{"type":650},[],{"type":18,"value":733}," be used to describe the region\nwithin the display mode that the source pixels will be mapped to.",{"type":13,"tag":14,"props":735,"children":736},{},[737,739,742,744,747,749,754,755,760,761,766,767,772,774,779,780,785,786,791,792,797],{"type":18,"value":738},"Other vendors ",{"type":13,"tag":540,"props":740,"children":741},{"type":650},[],{"type":18,"value":743}," support only a 1-1 mapping between pixels in the\npresentable images and the display mode.\nThis ",{"type":13,"tag":540,"props":745,"children":746},{"type":650},[],{"type":18,"value":748}," be indicated by returning (0,0) for ",{"type":13,"tag":21,"props":750,"children":752},{"className":751},[],[753],{"type":18,"value":502},{"type":18,"value":291},{"type":13,"tag":21,"props":756,"children":758},{"className":757},[],[759],{"type":18,"value":513},{"type":18,"value":222},{"type":13,"tag":21,"props":762,"children":764},{"className":763},[],[765],{"type":18,"value":596},{"type":18,"value":682},{"type":13,"tag":21,"props":768,"children":770},{"className":769},[],[771],{"type":18,"value":603},{"type":18,"value":773},", and\n(display mode width, display mode height) for ",{"type":13,"tag":21,"props":775,"children":777},{"className":776},[],[778],{"type":18,"value":574},{"type":18,"value":291},{"type":13,"tag":21,"props":781,"children":783},{"className":782},[],[784],{"type":18,"value":585},{"type":18,"value":222},{"type":13,"tag":21,"props":787,"children":789},{"className":788},[],[790],{"type":18,"value":610},{"type":18,"value":682},{"type":13,"tag":21,"props":793,"children":795},{"className":794},[],[796],{"type":18,"value":617},{"type":18,"value":798},".",{"type":13,"tag":14,"props":800,"children":801},{},[802,804,809,810,813,815,819],{"type":18,"value":803},"The value ",{"type":13,"tag":21,"props":805,"children":807},{"className":806},[],[808],{"type":18,"value":482},{"type":18,"value":538},{"type":13,"tag":540,"props":811,"children":812},{"type":542},[],{"type":18,"value":814}," contain at least one valid\n",{"type":13,"tag":486,"props":816,"children":817},{"href":488},[818],{"type":18,"value":491},{"type":18,"value":820}," bit.",{"type":13,"tag":14,"props":822,"children":823},{},[824,826,831,833,836],{"type":18,"value":825},"These values indicate the limits of the implementation’s individual fields.\nNot all combinations of values within the offset and extent ranges returned\nin ",{"type":13,"tag":21,"props":827,"children":829},{"className":828},[],[830],{"type":18,"value":4},{"type":18,"value":832}," are guaranteed to be supported.\nPresentation requests specifying unsupported combinations ",{"type":13,"tag":540,"props":834,"children":835},{"type":650},[],{"type":18,"value":837}," fail.",{"type":13,"tag":839,"props":840,"children":841},"style",{},[842],{"type":18,"value":843},"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":845},[],"markdown",1725732550370]