[{"data":1,"prerenderedAt":535},["ShallowReactive",2],{"dEWzs90RcY":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":534,"_id":4},"VkLatencySurfaceCapabilitiesNV","Structure describing surface optimized presentation modes for use with low latency mode","VK_NV_low_latency2","structs",[],{"type":10,"children":11,"toc":532},"root",[12,28,288,361,435,526],{"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,137],{"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 VkLatencySurfaceCapabilitiesNV {\n VkStructureType sType;\n const void* pNext;\n uint32_t presentModeCount;\n VkPresentModeKHR* pPresentModes;\n} VkLatencySurfaceCapabilitiesNV;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,109,128],{"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}," VkLatencySurfaceCapabilitiesNV {\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}," VkStructureType sType;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80,85,90],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," const",{"type":13,"tag":45,"props":86,"children":87},{"style":52},[88],{"type":18,"value":89}," void*",{"type":13,"tag":45,"props":91,"children":92},{"style":63},[93],{"type":18,"value":94}," pNext;\n",{"type":13,"tag":45,"props":96,"children":98},{"class":47,"line":97},4,[99,104],{"type":13,"tag":45,"props":100,"children":101},{"style":52},[102],{"type":18,"value":103}," uint32_t",{"type":13,"tag":45,"props":105,"children":106},{"style":63},[107],{"type":18,"value":108}," presentModeCount;\n",{"type":13,"tag":45,"props":110,"children":112},{"class":47,"line":111},5,[113,118,123],{"type":13,"tag":45,"props":114,"children":115},{"style":63},[116],{"type":18,"value":117}," VkPresentModeKHR",{"type":13,"tag":45,"props":119,"children":120},{"style":52},[121],{"type":18,"value":122},"*",{"type":13,"tag":45,"props":124,"children":125},{"style":63},[126],{"type":18,"value":127}," pPresentModes;\n",{"type":13,"tag":45,"props":129,"children":131},{"class":47,"line":130},6,[132],{"type":13,"tag":45,"props":133,"children":134},{"style":63},[135],{"type":18,"value":136},"} VkLatencySurfaceCapabilitiesNV;\n",{"type":13,"tag":33,"props":138,"children":143},{"className":139,"code":140,"filename":141,"language":142,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct LatencySurfaceCapabilitiesNV {\n s_type: vk::StructureType,\n p_next: *const c_void,\n present_mode_count: u32,\n p_present_modes: *mut vk::PresentModeKHR,\n}\n","Rust","rs",[144],{"type":13,"tag":21,"props":145,"children":146},{"__ignoreMap":39},[147,170,203,225,246,280],{"type":13,"tag":45,"props":148,"children":149},{"class":47,"line":48},[150,155,159,165],{"type":13,"tag":45,"props":151,"children":152},{"style":52},[153],{"type":18,"value":154},"pub",{"type":13,"tag":45,"props":156,"children":157},{"style":52},[158],{"type":18,"value":60},{"type":13,"tag":45,"props":160,"children":162},{"style":161},"--shiki-default:#953800;--shiki-dark:#FFA657",[163],{"type":18,"value":164}," LatencySurfaceCapabilitiesNV",{"type":13,"tag":45,"props":166,"children":167},{"style":63},[168],{"type":18,"value":169}," {\n",{"type":13,"tag":45,"props":171,"children":172},{"class":47,"line":69},[173,178,183,188,193,198],{"type":13,"tag":45,"props":174,"children":175},{"style":63},[176],{"type":18,"value":177}," s_type",{"type":13,"tag":45,"props":179,"children":180},{"style":52},[181],{"type":18,"value":182},":",{"type":13,"tag":45,"props":184,"children":185},{"style":161},[186],{"type":18,"value":187}," vk",{"type":13,"tag":45,"props":189,"children":190},{"style":52},[191],{"type":18,"value":192},"::",{"type":13,"tag":45,"props":194,"children":195},{"style":161},[196],{"type":18,"value":197},"StructureType",{"type":13,"tag":45,"props":199,"children":200},{"style":63},[201],{"type":18,"value":202},",\n",{"type":13,"tag":45,"props":204,"children":205},{"class":47,"line":78},[206,211,215,220],{"type":13,"tag":45,"props":207,"children":208},{"style":63},[209],{"type":18,"value":210}," p_next",{"type":13,"tag":45,"props":212,"children":213},{"style":52},[214],{"type":18,"value":182},{"type":13,"tag":45,"props":216,"children":217},{"style":52},[218],{"type":18,"value":219}," *const",{"type":13,"tag":45,"props":221,"children":222},{"style":63},[223],{"type":18,"value":224}," c_void,\n",{"type":13,"tag":45,"props":226,"children":227},{"class":47,"line":97},[228,233,237,242],{"type":13,"tag":45,"props":229,"children":230},{"style":63},[231],{"type":18,"value":232}," present_mode_count",{"type":13,"tag":45,"props":234,"children":235},{"style":52},[236],{"type":18,"value":182},{"type":13,"tag":45,"props":238,"children":239},{"style":161},[240],{"type":18,"value":241}," u32",{"type":13,"tag":45,"props":243,"children":244},{"style":63},[245],{"type":18,"value":202},{"type":13,"tag":45,"props":247,"children":248},{"class":47,"line":111},[249,254,258,263,267,271,276],{"type":13,"tag":45,"props":250,"children":251},{"style":63},[252],{"type":18,"value":253}," p_present_modes",{"type":13,"tag":45,"props":255,"children":256},{"style":52},[257],{"type":18,"value":182},{"type":13,"tag":45,"props":259,"children":260},{"style":52},[261],{"type":18,"value":262}," *mut",{"type":13,"tag":45,"props":264,"children":265},{"style":161},[266],{"type":18,"value":187},{"type":13,"tag":45,"props":268,"children":269},{"style":52},[270],{"type":18,"value":192},{"type":13,"tag":45,"props":272,"children":273},{"style":161},[274],{"type":18,"value":275},"PresentModeKHR",{"type":13,"tag":45,"props":277,"children":278},{"style":63},[279],{"type":18,"value":202},{"type":13,"tag":45,"props":281,"children":282},{"class":47,"line":130},[283],{"type":13,"tag":45,"props":284,"children":285},{"style":63},[286],{"type":18,"value":287},"}\n",{"type":13,"tag":289,"props":290,"children":291},"ul",{},[292,313,332,343],{"type":13,"tag":293,"props":294,"children":295},"li",{},[296,302,304,311],{"type":13,"tag":21,"props":297,"children":299},{"className":298},[],[300],{"type":18,"value":301},"sType",{"type":18,"value":303}," is a ",{"type":13,"tag":305,"props":306,"children":308},"a",{"href":307},"/man/VkStructureType",[309],{"type":18,"value":310},"VkStructureType",{"type":18,"value":312}," value identifying this structure.",{"type":13,"tag":293,"props":314,"children":315},{},[316,322,324,330],{"type":13,"tag":21,"props":317,"children":319},{"className":318},[],[320],{"type":18,"value":321},"pNext",{"type":18,"value":323}," is ",{"type":13,"tag":21,"props":325,"children":327},{"className":326},[],[328],{"type":18,"value":329},"NULL",{"type":18,"value":331}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":293,"props":333,"children":334},{},[335,341],{"type":13,"tag":21,"props":336,"children":338},{"className":337},[],[339],{"type":18,"value":340},"presentModeCount",{"type":18,"value":342}," is the number of presentation modes provided.",{"type":13,"tag":293,"props":344,"children":345},{},[346,352,354,359],{"type":13,"tag":21,"props":347,"children":349},{"className":348},[],[350],{"type":18,"value":351},"pPresentModes",{"type":18,"value":353}," is list of presentation modes optimized for use with\nlow latency mode with ",{"type":13,"tag":21,"props":355,"children":357},{"className":356},[],[358],{"type":18,"value":340},{"type":18,"value":360}," entries.",{"type":13,"tag":14,"props":362,"children":363},{},[364,366,371,372,377,379,384,386,391,393,398,400,405,407,412,414,419,421,426,428,433],{"type":18,"value":365},"If ",{"type":13,"tag":21,"props":367,"children":369},{"className":368},[],[370],{"type":18,"value":351},{"type":18,"value":323},{"type":13,"tag":21,"props":373,"children":375},{"className":374},[],[376],{"type":18,"value":329},{"type":18,"value":378},", then the number of present modes that are\noptimized for use with low latency mode returned in ",{"type":13,"tag":21,"props":380,"children":382},{"className":381},[],[383],{"type":18,"value":340},{"type":18,"value":385},".\nOtherwise, ",{"type":13,"tag":21,"props":387,"children":389},{"className":388},[],[390],{"type":18,"value":340},{"type":18,"value":392}," ",{"type":13,"tag":394,"props":395,"children":397},"normative",{"type":396},"must",[],{"type":18,"value":399}," be set by the application to the\nnumber of elements in the ",{"type":13,"tag":21,"props":401,"children":403},{"className":402},[],[404],{"type":18,"value":351},{"type":18,"value":406}," array, and on return the\nvariable is overwritten with the number of values actually written to\n",{"type":13,"tag":21,"props":408,"children":410},{"className":409},[],[411],{"type":18,"value":351},{"type":18,"value":413},".\nIf the value of ",{"type":13,"tag":21,"props":415,"children":417},{"className":416},[],[418],{"type":18,"value":340},{"type":18,"value":420}," is less than the number of optimized\npresent modes, at most ",{"type":13,"tag":21,"props":422,"children":424},{"className":423},[],[425],{"type":18,"value":340},{"type":18,"value":427}," values will be written to\n",{"type":13,"tag":21,"props":429,"children":431},{"className":430},[],[432],{"type":18,"value":351},{"type":18,"value":434},".",{"type":13,"tag":436,"props":437,"children":439},"validity-group",{"name":438},"Valid Usage (Implicit)",[440,465],{"type":13,"tag":441,"props":442,"children":444},"validity-field",{"name":443},"VUID-VkLatencySurfaceCapabilitiesNV-sType-sType",[445],{"type":13,"tag":14,"props":446,"children":447},{},[448,453,454,457,459],{"type":13,"tag":21,"props":449,"children":451},{"className":450},[],[452],{"type":18,"value":301},{"type":18,"value":392},{"type":13,"tag":394,"props":455,"children":456},{"type":396},[],{"type":18,"value":458}," be ",{"type":13,"tag":21,"props":460,"children":462},{"className":461},[],[463],{"type":18,"value":464},"VK_STRUCTURE_TYPE_LATENCY_SURFACE_CAPABILITIES_NV",{"type":13,"tag":441,"props":466,"children":468},{"name":467},"VUID-VkLatencySurfaceCapabilitiesNV-pPresentModes-parameter",[469],{"type":13,"tag":14,"props":470,"children":471},{},[472,473,478,480,486,488,493,494,499,501,506,507,510,512,517,518,524],{"type":18,"value":365},{"type":13,"tag":21,"props":474,"children":476},{"className":475},[],[477],{"type":18,"value":340},{"type":18,"value":479}," is not ",{"type":13,"tag":21,"props":481,"children":483},{"className":482},[],[484],{"type":18,"value":485},"0",{"type":18,"value":487},", and ",{"type":13,"tag":21,"props":489,"children":491},{"className":490},[],[492],{"type":18,"value":351},{"type":18,"value":479},{"type":13,"tag":21,"props":495,"children":497},{"className":496},[],[498],{"type":18,"value":329},{"type":18,"value":500},", ",{"type":13,"tag":21,"props":502,"children":504},{"className":503},[],[505],{"type":18,"value":351},{"type":18,"value":392},{"type":13,"tag":394,"props":508,"children":509},{"type":396},[],{"type":18,"value":511}," be a valid pointer to an array of ",{"type":13,"tag":21,"props":513,"children":515},{"className":514},[],[516],{"type":18,"value":340},{"type":18,"value":392},{"type":13,"tag":305,"props":519,"children":521},{"href":520},"/man/VkPresentModeKHR",[522],{"type":18,"value":523},"VkPresentModeKHR",{"type":18,"value":525}," values",{"type":13,"tag":527,"props":528,"children":529},"style",{},[530],{"type":18,"value":531},"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":533},[],"markdown",1725732560798]