[{"data":1,"prerenderedAt":409},["ShallowReactive",2],{"XRHQ8htbl4":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":408,"_id":4},"VkPresentScalingFlagBitsEXT","Bitmask specifying presentation scaling methods","VK_EXT_surface_maintenance1","enums",[],{"type":10,"children":11,"toc":406},"root",[12,45,362,400],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25,27,34,36,43],{"type":18,"value":19},"text","Bits which ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"may",[],{"type":18,"value":26}," be set in\n",{"type":13,"tag":28,"props":29,"children":31},"a",{"href":30},"/man/VkSurfacePresentScalingCapabilitiesEXT",[32],{"type":18,"value":33},"VkSurfacePresentScalingCapabilitiesEXT",{"type":18,"value":35},"::",{"type":13,"tag":37,"props":38,"children":40},"code",{"className":39},[],[41],{"type":18,"value":42},"supportedPresentScaling",{"type":18,"value":44},",\nspecifying scaling modes supported by the surface, are:",{"type":13,"tag":46,"props":47,"children":48},"code-group",{},[49,175],{"type":13,"tag":50,"props":51,"children":57},"pre",{"className":52,"code":53,"filename":54,"language":55,"meta":56,"style":56},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkPresentScalingFlagBitsEXT {\n VK_PRESENT_SCALING_ONE_TO_ONE_BIT_EXT = 0x00000001,\n VK_PRESENT_SCALING_ASPECT_RATIO_STRETCH_BIT_EXT = 0x00000002,\n VK_PRESENT_SCALING_STRETCH_BIT_EXT = 0x00000004,\n} VkPresentScalingFlagBitsEXT;\n","C","c","",[58],{"type":13,"tag":37,"props":59,"children":60},{"__ignoreMap":56},[61,84,114,140,166],{"type":13,"tag":62,"props":63,"children":66},"span",{"class":64,"line":65},"line",1,[67,73,78],{"type":13,"tag":62,"props":68,"children":70},{"style":69},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[71],{"type":18,"value":72},"typedef",{"type":13,"tag":62,"props":74,"children":75},{"style":69},[76],{"type":18,"value":77}," enum",{"type":13,"tag":62,"props":79,"children":81},{"style":80},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[82],{"type":18,"value":83}," VkPresentScalingFlagBitsEXT {\n",{"type":13,"tag":62,"props":85,"children":87},{"class":64,"line":86},2,[88,93,98,103,109],{"type":13,"tag":62,"props":89,"children":90},{"style":80},[91],{"type":18,"value":92}," VK_PRESENT_SCALING_ONE_TO_ONE_BIT_EXT ",{"type":13,"tag":62,"props":94,"children":95},{"style":69},[96],{"type":18,"value":97},"=",{"type":13,"tag":62,"props":99,"children":100},{"style":69},[101],{"type":18,"value":102}," 0x",{"type":13,"tag":62,"props":104,"children":106},{"style":105},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[107],{"type":18,"value":108},"00000001",{"type":13,"tag":62,"props":110,"children":111},{"style":80},[112],{"type":18,"value":113},",\n",{"type":13,"tag":62,"props":115,"children":117},{"class":64,"line":116},3,[118,123,127,131,136],{"type":13,"tag":62,"props":119,"children":120},{"style":80},[121],{"type":18,"value":122}," VK_PRESENT_SCALING_ASPECT_RATIO_STRETCH_BIT_EXT ",{"type":13,"tag":62,"props":124,"children":125},{"style":69},[126],{"type":18,"value":97},{"type":13,"tag":62,"props":128,"children":129},{"style":69},[130],{"type":18,"value":102},{"type":13,"tag":62,"props":132,"children":133},{"style":105},[134],{"type":18,"value":135},"00000002",{"type":13,"tag":62,"props":137,"children":138},{"style":80},[139],{"type":18,"value":113},{"type":13,"tag":62,"props":141,"children":143},{"class":64,"line":142},4,[144,149,153,157,162],{"type":13,"tag":62,"props":145,"children":146},{"style":80},[147],{"type":18,"value":148}," VK_PRESENT_SCALING_STRETCH_BIT_EXT ",{"type":13,"tag":62,"props":150,"children":151},{"style":69},[152],{"type":18,"value":97},{"type":13,"tag":62,"props":154,"children":155},{"style":69},[156],{"type":18,"value":102},{"type":13,"tag":62,"props":158,"children":159},{"style":105},[160],{"type":18,"value":161},"00000004",{"type":13,"tag":62,"props":163,"children":164},{"style":80},[165],{"type":18,"value":113},{"type":13,"tag":62,"props":167,"children":169},{"class":64,"line":168},5,[170],{"type":13,"tag":62,"props":171,"children":172},{"style":80},[173],{"type":18,"value":174},"} VkPresentScalingFlagBitsEXT;\n",{"type":13,"tag":50,"props":176,"children":181},{"className":177,"code":178,"filename":179,"language":180,"meta":56,"style":56},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PresentScalingFlagBitsEXT(u32);\nimpl PresentScalingFlagBitsEXT {\n pub const ONE_TO_ONE: Self = 0x00000001;\n pub const ASPECT_RATIO_STRETCH: Self = 0x00000002;\n pub const STRETCH: Self = 0x00000004;\n}\n","Rust","rs",[182],{"type":13,"tag":37,"props":183,"children":184},{"__ignoreMap":56},[185,219,236,279,316,353],{"type":13,"tag":62,"props":186,"children":187},{"class":64,"line":65},[188,193,198,204,209,214],{"type":13,"tag":62,"props":189,"children":190},{"style":69},[191],{"type":18,"value":192},"pub",{"type":13,"tag":62,"props":194,"children":195},{"style":69},[196],{"type":18,"value":197}," struct",{"type":13,"tag":62,"props":199,"children":201},{"style":200},"--shiki-default:#953800;--shiki-dark:#FFA657",[202],{"type":18,"value":203}," PresentScalingFlagBitsEXT",{"type":13,"tag":62,"props":205,"children":206},{"style":80},[207],{"type":18,"value":208},"(",{"type":13,"tag":62,"props":210,"children":211},{"style":200},[212],{"type":18,"value":213},"u32",{"type":13,"tag":62,"props":215,"children":216},{"style":80},[217],{"type":18,"value":218},");\n",{"type":13,"tag":62,"props":220,"children":221},{"class":64,"line":86},[222,227,231],{"type":13,"tag":62,"props":223,"children":224},{"style":69},[225],{"type":18,"value":226},"impl",{"type":13,"tag":62,"props":228,"children":229},{"style":200},[230],{"type":18,"value":203},{"type":13,"tag":62,"props":232,"children":233},{"style":80},[234],{"type":18,"value":235}," {\n",{"type":13,"tag":62,"props":237,"children":238},{"class":64,"line":116},[239,244,249,254,259,264,269,274],{"type":13,"tag":62,"props":240,"children":241},{"style":69},[242],{"type":18,"value":243}," pub",{"type":13,"tag":62,"props":245,"children":246},{"style":69},[247],{"type":18,"value":248}," const",{"type":13,"tag":62,"props":250,"children":251},{"style":105},[252],{"type":18,"value":253}," ONE_TO_ONE",{"type":13,"tag":62,"props":255,"children":256},{"style":69},[257],{"type":18,"value":258},":",{"type":13,"tag":62,"props":260,"children":261},{"style":105},[262],{"type":18,"value":263}," Self",{"type":13,"tag":62,"props":265,"children":266},{"style":69},[267],{"type":18,"value":268}," =",{"type":13,"tag":62,"props":270,"children":271},{"style":105},[272],{"type":18,"value":273}," 0x00000001",{"type":13,"tag":62,"props":275,"children":276},{"style":80},[277],{"type":18,"value":278},";\n",{"type":13,"tag":62,"props":280,"children":281},{"class":64,"line":142},[282,286,290,295,299,303,307,312],{"type":13,"tag":62,"props":283,"children":284},{"style":69},[285],{"type":18,"value":243},{"type":13,"tag":62,"props":287,"children":288},{"style":69},[289],{"type":18,"value":248},{"type":13,"tag":62,"props":291,"children":292},{"style":105},[293],{"type":18,"value":294}," ASPECT_RATIO_STRETCH",{"type":13,"tag":62,"props":296,"children":297},{"style":69},[298],{"type":18,"value":258},{"type":13,"tag":62,"props":300,"children":301},{"style":105},[302],{"type":18,"value":263},{"type":13,"tag":62,"props":304,"children":305},{"style":69},[306],{"type":18,"value":268},{"type":13,"tag":62,"props":308,"children":309},{"style":105},[310],{"type":18,"value":311}," 0x00000002",{"type":13,"tag":62,"props":313,"children":314},{"style":80},[315],{"type":18,"value":278},{"type":13,"tag":62,"props":317,"children":318},{"class":64,"line":168},[319,323,327,332,336,340,344,349],{"type":13,"tag":62,"props":320,"children":321},{"style":69},[322],{"type":18,"value":243},{"type":13,"tag":62,"props":324,"children":325},{"style":69},[326],{"type":18,"value":248},{"type":13,"tag":62,"props":328,"children":329},{"style":105},[330],{"type":18,"value":331}," STRETCH",{"type":13,"tag":62,"props":333,"children":334},{"style":69},[335],{"type":18,"value":258},{"type":13,"tag":62,"props":337,"children":338},{"style":105},[339],{"type":18,"value":263},{"type":13,"tag":62,"props":341,"children":342},{"style":69},[343],{"type":18,"value":268},{"type":13,"tag":62,"props":345,"children":346},{"style":105},[347],{"type":18,"value":348}," 0x00000004",{"type":13,"tag":62,"props":350,"children":351},{"style":80},[352],{"type":18,"value":278},{"type":13,"tag":62,"props":354,"children":356},{"class":64,"line":355},6,[357],{"type":13,"tag":62,"props":358,"children":359},{"style":80},[360],{"type":18,"value":361},"}\n",{"type":13,"tag":363,"props":364,"children":365},"ul",{},[366,378,389],{"type":13,"tag":367,"props":368,"children":369},"li",{},[370,376],{"type":13,"tag":37,"props":371,"children":373},{"className":372},[],[374],{"type":18,"value":375},"VK_PRESENT_SCALING_ONE_TO_ONE_BIT_EXT",{"type":18,"value":377}," specifies that no scaling\noccurs, and pixels in the swapchain image are mapped to one and only one\npixel in the surface.\nThe mapping between pixels is defined by the chosen presentation\ngravity.",{"type":13,"tag":367,"props":379,"children":380},{},[381,387],{"type":13,"tag":37,"props":382,"children":384},{"className":383},[],[385],{"type":18,"value":386},"VK_PRESENT_SCALING_ASPECT_RATIO_STRETCH_BIT_EXT",{"type":18,"value":388}," specifies that the\nswapchain image will be minified or magnified such that at least one of\nthe resulting width or height is equal to the corresponding surface\ndimension, and the other resulting dimension is less than or equal to\nthe corresponding surface dimension, with the aspect ratio of the\nresulting image being identical to that of the original swapchain image.",{"type":13,"tag":367,"props":390,"children":391},{},[392,398],{"type":13,"tag":37,"props":393,"children":395},{"className":394},[],[396],{"type":18,"value":397},"VK_PRESENT_SCALING_STRETCH_BIT_EXT",{"type":18,"value":399}," specifies that the swapchain\nimage will be minified or magnified such that the resulting image\ndimensions are equal to those of the surface.",{"type":13,"tag":401,"props":402,"children":403},"style",{},[404],{"type":18,"value":405},"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":56,"searchDepth":86,"depth":86,"links":407},[],"markdown",1725732580639]