[{"data":1,"prerenderedAt":362},["ShallowReactive",2],{"N5vGfvIrT5":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":361,"_id":4},"VkSwapchainLatencyCreateInfoNV","Specify that a swapchain will use low latency mode","VK_NV_low_latency2","structs",[],{"type":10,"children":11,"toc":359},"root",[12,45,57,267,320,353],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26,28,34,36,43],{"type":18,"value":19},"text","To allow low latency mode to be used by a swapchain, add a\n",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":4},{"type":18,"value":27}," structure to the ",{"type":13,"tag":21,"props":29,"children":31},{"className":30},[],[32],{"type":18,"value":33},"pNext",{"type":18,"value":35}," chain of\n",{"type":13,"tag":37,"props":38,"children":40},"a",{"href":39},"/man/VkSwapchainCreateInfoKHR",[41],{"type":18,"value":42},"VkSwapchainCreateInfoKHR",{"type":18,"value":44},".",{"type":13,"tag":14,"props":46,"children":47},{},[48,50,55],{"type":18,"value":49},"The ",{"type":13,"tag":21,"props":51,"children":53},{"className":52},[],[54],{"type":18,"value":4},{"type":18,"value":56}," structure is defined as:",{"type":13,"tag":58,"props":59,"children":60},"code-group",{},[61,142],{"type":13,"tag":62,"props":63,"children":69},"pre",{"className":64,"code":65,"filename":66,"language":67,"meta":68,"style":68},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkSwapchainLatencyCreateInfoNV {\n VkStructureType sType;\n const void* pNext;\n VkBool32 latencyModeEnable;\n} VkSwapchainLatencyCreateInfoNV;\n","C","c","",[70],{"type":13,"tag":21,"props":71,"children":72},{"__ignoreMap":68},[73,96,105,124,133],{"type":13,"tag":74,"props":75,"children":78},"span",{"class":76,"line":77},"line",1,[79,85,90],{"type":13,"tag":74,"props":80,"children":82},{"style":81},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[83],{"type":18,"value":84},"typedef",{"type":13,"tag":74,"props":86,"children":87},{"style":81},[88],{"type":18,"value":89}," struct",{"type":13,"tag":74,"props":91,"children":93},{"style":92},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[94],{"type":18,"value":95}," VkSwapchainLatencyCreateInfoNV {\n",{"type":13,"tag":74,"props":97,"children":99},{"class":76,"line":98},2,[100],{"type":13,"tag":74,"props":101,"children":102},{"style":92},[103],{"type":18,"value":104}," VkStructureType sType;\n",{"type":13,"tag":74,"props":106,"children":108},{"class":76,"line":107},3,[109,114,119],{"type":13,"tag":74,"props":110,"children":111},{"style":81},[112],{"type":18,"value":113}," const",{"type":13,"tag":74,"props":115,"children":116},{"style":81},[117],{"type":18,"value":118}," void*",{"type":13,"tag":74,"props":120,"children":121},{"style":92},[122],{"type":18,"value":123}," pNext;\n",{"type":13,"tag":74,"props":125,"children":127},{"class":76,"line":126},4,[128],{"type":13,"tag":74,"props":129,"children":130},{"style":92},[131],{"type":18,"value":132}," VkBool32 latencyModeEnable;\n",{"type":13,"tag":74,"props":134,"children":136},{"class":76,"line":135},5,[137],{"type":13,"tag":74,"props":138,"children":139},{"style":92},[140],{"type":18,"value":141},"} VkSwapchainLatencyCreateInfoNV;\n",{"type":13,"tag":62,"props":143,"children":148},{"className":144,"code":145,"filename":146,"language":147,"meta":68,"style":68},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct SwapchainLatencyCreateInfoNV {\n s_type: vk::StructureType,\n p_next: *const c_void,\n latency_mode_enable: vk::Bool32,\n}\n","Rust","rs",[149],{"type":13,"tag":21,"props":150,"children":151},{"__ignoreMap":68},[152,175,208,230,259],{"type":13,"tag":74,"props":153,"children":154},{"class":76,"line":77},[155,160,164,170],{"type":13,"tag":74,"props":156,"children":157},{"style":81},[158],{"type":18,"value":159},"pub",{"type":13,"tag":74,"props":161,"children":162},{"style":81},[163],{"type":18,"value":89},{"type":13,"tag":74,"props":165,"children":167},{"style":166},"--shiki-default:#953800;--shiki-dark:#FFA657",[168],{"type":18,"value":169}," SwapchainLatencyCreateInfoNV",{"type":13,"tag":74,"props":171,"children":172},{"style":92},[173],{"type":18,"value":174}," {\n",{"type":13,"tag":74,"props":176,"children":177},{"class":76,"line":98},[178,183,188,193,198,203],{"type":13,"tag":74,"props":179,"children":180},{"style":92},[181],{"type":18,"value":182}," s_type",{"type":13,"tag":74,"props":184,"children":185},{"style":81},[186],{"type":18,"value":187},":",{"type":13,"tag":74,"props":189,"children":190},{"style":166},[191],{"type":18,"value":192}," vk",{"type":13,"tag":74,"props":194,"children":195},{"style":81},[196],{"type":18,"value":197},"::",{"type":13,"tag":74,"props":199,"children":200},{"style":166},[201],{"type":18,"value":202},"StructureType",{"type":13,"tag":74,"props":204,"children":205},{"style":92},[206],{"type":18,"value":207},",\n",{"type":13,"tag":74,"props":209,"children":210},{"class":76,"line":107},[211,216,220,225],{"type":13,"tag":74,"props":212,"children":213},{"style":92},[214],{"type":18,"value":215}," p_next",{"type":13,"tag":74,"props":217,"children":218},{"style":81},[219],{"type":18,"value":187},{"type":13,"tag":74,"props":221,"children":222},{"style":81},[223],{"type":18,"value":224}," *const",{"type":13,"tag":74,"props":226,"children":227},{"style":92},[228],{"type":18,"value":229}," c_void,\n",{"type":13,"tag":74,"props":231,"children":232},{"class":76,"line":126},[233,238,242,246,250,255],{"type":13,"tag":74,"props":234,"children":235},{"style":92},[236],{"type":18,"value":237}," latency_mode_enable",{"type":13,"tag":74,"props":239,"children":240},{"style":81},[241],{"type":18,"value":187},{"type":13,"tag":74,"props":243,"children":244},{"style":166},[245],{"type":18,"value":192},{"type":13,"tag":74,"props":247,"children":248},{"style":81},[249],{"type":18,"value":197},{"type":13,"tag":74,"props":251,"children":252},{"style":166},[253],{"type":18,"value":254},"Bool32",{"type":13,"tag":74,"props":256,"children":257},{"style":92},[258],{"type":18,"value":207},{"type":13,"tag":74,"props":260,"children":261},{"class":76,"line":135},[262],{"type":13,"tag":74,"props":263,"children":264},{"style":92},[265],{"type":18,"value":266},"}\n",{"type":13,"tag":268,"props":269,"children":270},"ul",{},[271,291,309],{"type":13,"tag":272,"props":273,"children":274},"li",{},[275,281,283,289],{"type":13,"tag":21,"props":276,"children":278},{"className":277},[],[279],{"type":18,"value":280},"sType",{"type":18,"value":282}," is a ",{"type":13,"tag":37,"props":284,"children":286},{"href":285},"/man/VkStructureType",[287],{"type":18,"value":288},"VkStructureType",{"type":18,"value":290}," value identifying this structure.",{"type":13,"tag":272,"props":292,"children":293},{},[294,299,301,307],{"type":13,"tag":21,"props":295,"children":297},{"className":296},[],[298],{"type":18,"value":33},{"type":18,"value":300}," is ",{"type":13,"tag":21,"props":302,"children":304},{"className":303},[],[305],{"type":18,"value":306},"NULL",{"type":18,"value":308}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":272,"props":310,"children":311},{},[312,318],{"type":13,"tag":21,"props":313,"children":315},{"className":314},[],[316],{"type":18,"value":317},"lowLatencyModeEnable",{"type":18,"value":319}," indicates if the swapchain created will\nutilize low latency mode.",{"type":13,"tag":321,"props":322,"children":324},"validity-group",{"name":323},"Valid Usage (Implicit)",[325],{"type":13,"tag":326,"props":327,"children":329},"validity-field",{"name":328},"VUID-VkSwapchainLatencyCreateInfoNV-sType-sType",[330],{"type":13,"tag":14,"props":331,"children":332},{},[333,338,340,345,347],{"type":13,"tag":21,"props":334,"children":336},{"className":335},[],[337],{"type":18,"value":280},{"type":18,"value":339}," ",{"type":13,"tag":341,"props":342,"children":344},"normative",{"type":343},"must",[],{"type":18,"value":346}," be ",{"type":13,"tag":21,"props":348,"children":350},{"className":349},[],[351],{"type":18,"value":352},"VK_STRUCTURE_TYPE_SWAPCHAIN_LATENCY_CREATE_INFO_NV",{"type":13,"tag":354,"props":355,"children":356},"style",{},[357],{"type":18,"value":358},"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":68,"searchDepth":98,"depth":98,"links":360},[],"markdown",1725732589906]