[{"data":1,"prerenderedAt":492},["ShallowReactive",2],{"zhpTizOC1d":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":491,"_id":4},"VkLatencySleepModeInfoNV","Structure to set low latency mode","VK_NV_low_latency2","structs",[],{"type":10,"children":11,"toc":489},"root",[12,28,310,403,450,483],{"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,136],{"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 VkLatencySleepModeInfoNV {\n VkStructureType sType;\n const void* pNext;\n VkBool32 lowLatencyMode;\n VkBool32 lowLatencyBoost;\n uint32_t minimumIntervalUs;\n} VkLatencySleepModeInfoNV;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,104,113,127],{"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}," VkLatencySleepModeInfoNV {\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],{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," VkBool32 lowLatencyMode;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108],{"type":13,"tag":45,"props":109,"children":110},{"style":63},[111],{"type":18,"value":112}," VkBool32 lowLatencyBoost;\n",{"type":13,"tag":45,"props":114,"children":116},{"class":47,"line":115},6,[117,122],{"type":13,"tag":45,"props":118,"children":119},{"style":52},[120],{"type":18,"value":121}," uint32_t",{"type":13,"tag":45,"props":123,"children":124},{"style":63},[125],{"type":18,"value":126}," minimumIntervalUs;\n",{"type":13,"tag":45,"props":128,"children":130},{"class":47,"line":129},7,[131],{"type":13,"tag":45,"props":132,"children":133},{"style":63},[134],{"type":18,"value":135},"} VkLatencySleepModeInfoNV;\n",{"type":13,"tag":33,"props":137,"children":142},{"className":138,"code":139,"filename":140,"language":141,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct LatencySleepModeInfoNV {\n s_type: vk::StructureType,\n p_next: *const c_void,\n low_latency_mode: vk::Bool32,\n low_latency_boost: vk::Bool32,\n minimum_interval_us: u32,\n}\n","Rust","rs",[143],{"type":13,"tag":21,"props":144,"children":145},{"__ignoreMap":39},[146,169,202,224,253,281,302],{"type":13,"tag":45,"props":147,"children":148},{"class":47,"line":48},[149,154,158,164],{"type":13,"tag":45,"props":150,"children":151},{"style":52},[152],{"type":18,"value":153},"pub",{"type":13,"tag":45,"props":155,"children":156},{"style":52},[157],{"type":18,"value":60},{"type":13,"tag":45,"props":159,"children":161},{"style":160},"--shiki-default:#953800;--shiki-dark:#FFA657",[162],{"type":18,"value":163}," LatencySleepModeInfoNV",{"type":13,"tag":45,"props":165,"children":166},{"style":63},[167],{"type":18,"value":168}," {\n",{"type":13,"tag":45,"props":170,"children":171},{"class":47,"line":69},[172,177,182,187,192,197],{"type":13,"tag":45,"props":173,"children":174},{"style":63},[175],{"type":18,"value":176}," s_type",{"type":13,"tag":45,"props":178,"children":179},{"style":52},[180],{"type":18,"value":181},":",{"type":13,"tag":45,"props":183,"children":184},{"style":160},[185],{"type":18,"value":186}," vk",{"type":13,"tag":45,"props":188,"children":189},{"style":52},[190],{"type":18,"value":191},"::",{"type":13,"tag":45,"props":193,"children":194},{"style":160},[195],{"type":18,"value":196},"StructureType",{"type":13,"tag":45,"props":198,"children":199},{"style":63},[200],{"type":18,"value":201},",\n",{"type":13,"tag":45,"props":203,"children":204},{"class":47,"line":78},[205,210,214,219],{"type":13,"tag":45,"props":206,"children":207},{"style":63},[208],{"type":18,"value":209}," p_next",{"type":13,"tag":45,"props":211,"children":212},{"style":52},[213],{"type":18,"value":181},{"type":13,"tag":45,"props":215,"children":216},{"style":52},[217],{"type":18,"value":218}," *const",{"type":13,"tag":45,"props":220,"children":221},{"style":63},[222],{"type":18,"value":223}," c_void,\n",{"type":13,"tag":45,"props":225,"children":226},{"class":47,"line":97},[227,232,236,240,244,249],{"type":13,"tag":45,"props":228,"children":229},{"style":63},[230],{"type":18,"value":231}," low_latency_mode",{"type":13,"tag":45,"props":233,"children":234},{"style":52},[235],{"type":18,"value":181},{"type":13,"tag":45,"props":237,"children":238},{"style":160},[239],{"type":18,"value":186},{"type":13,"tag":45,"props":241,"children":242},{"style":52},[243],{"type":18,"value":191},{"type":13,"tag":45,"props":245,"children":246},{"style":160},[247],{"type":18,"value":248},"Bool32",{"type":13,"tag":45,"props":250,"children":251},{"style":63},[252],{"type":18,"value":201},{"type":13,"tag":45,"props":254,"children":255},{"class":47,"line":106},[256,261,265,269,273,277],{"type":13,"tag":45,"props":257,"children":258},{"style":63},[259],{"type":18,"value":260}," low_latency_boost",{"type":13,"tag":45,"props":262,"children":263},{"style":52},[264],{"type":18,"value":181},{"type":13,"tag":45,"props":266,"children":267},{"style":160},[268],{"type":18,"value":186},{"type":13,"tag":45,"props":270,"children":271},{"style":52},[272],{"type":18,"value":191},{"type":13,"tag":45,"props":274,"children":275},{"style":160},[276],{"type":18,"value":248},{"type":13,"tag":45,"props":278,"children":279},{"style":63},[280],{"type":18,"value":201},{"type":13,"tag":45,"props":282,"children":283},{"class":47,"line":115},[284,289,293,298],{"type":13,"tag":45,"props":285,"children":286},{"style":63},[287],{"type":18,"value":288}," minimum_interval_us",{"type":13,"tag":45,"props":290,"children":291},{"style":52},[292],{"type":18,"value":181},{"type":13,"tag":45,"props":294,"children":295},{"style":160},[296],{"type":18,"value":297}," u32",{"type":13,"tag":45,"props":299,"children":300},{"style":63},[301],{"type":18,"value":201},{"type":13,"tag":45,"props":303,"children":304},{"class":47,"line":129},[305],{"type":13,"tag":45,"props":306,"children":307},{"style":63},[308],{"type":18,"value":309},"}\n",{"type":13,"tag":311,"props":312,"children":313},"ul",{},[314,335,354,365,376],{"type":13,"tag":315,"props":316,"children":317},"li",{},[318,324,326,333],{"type":13,"tag":21,"props":319,"children":321},{"className":320},[],[322],{"type":18,"value":323},"sType",{"type":18,"value":325}," is a ",{"type":13,"tag":327,"props":328,"children":330},"a",{"href":329},"/man/VkStructureType",[331],{"type":18,"value":332},"VkStructureType",{"type":18,"value":334}," value identifying this structure.",{"type":13,"tag":315,"props":336,"children":337},{},[338,344,346,352],{"type":13,"tag":21,"props":339,"children":341},{"className":340},[],[342],{"type":18,"value":343},"pNext",{"type":18,"value":345}," is ",{"type":13,"tag":21,"props":347,"children":349},{"className":348},[],[350],{"type":18,"value":351},"NULL",{"type":18,"value":353}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":315,"props":355,"children":356},{},[357,363],{"type":13,"tag":21,"props":358,"children":360},{"className":359},[],[361],{"type":18,"value":362},"lowLatencyMode",{"type":18,"value":364}," is the toggle to enable or disable low latency\nmode.",{"type":13,"tag":315,"props":366,"children":367},{},[368,374],{"type":13,"tag":21,"props":369,"children":371},{"className":370},[],[372],{"type":18,"value":373},"lowLatencyBoost",{"type":18,"value":375}," allows an application to hint to the GPU to\nincrease performance to provide additional latency savings at a cost of\nincreased power consumption.",{"type":13,"tag":315,"props":377,"children":378},{},[379,385,387,393,395,401],{"type":13,"tag":21,"props":380,"children":382},{"className":381},[],[383],{"type":18,"value":384},"minimumIntervalUs",{"type":18,"value":386}," is the microseconds between\n",{"type":13,"tag":327,"props":388,"children":390},{"href":389},"/man/vkQueuePresentKHR",[391],{"type":18,"value":392},"vkQueuePresentKHR",{"type":18,"value":394}," calls for a given swapchain that\n",{"type":13,"tag":327,"props":396,"children":398},{"href":397},"/man/vkLatencySleepNV",[399],{"type":18,"value":400},"vkLatencySleepNV",{"type":18,"value":402}," will enforce.",{"type":13,"tag":14,"props":404,"children":405},{},[406,408,413,414,420,422,427,429,434,436,441,443,448],{"type":18,"value":407},"If ",{"type":13,"tag":21,"props":409,"children":411},{"className":410},[],[412],{"type":18,"value":362},{"type":18,"value":345},{"type":13,"tag":21,"props":415,"children":417},{"className":416},[],[418],{"type":18,"value":419},"VK_FALSE",{"type":18,"value":421},", ",{"type":13,"tag":21,"props":423,"children":425},{"className":424},[],[426],{"type":18,"value":373},{"type":18,"value":428}," will still\nhint to the GPU to increase its power state and ",{"type":13,"tag":21,"props":430,"children":432},{"className":431},[],[433],{"type":18,"value":400},{"type":18,"value":435}," will\nstill enforce ",{"type":13,"tag":21,"props":437,"children":439},{"className":438},[],[440],{"type":18,"value":384},{"type":18,"value":442}," between ",{"type":13,"tag":21,"props":444,"children":446},{"className":445},[],[447],{"type":18,"value":392},{"type":18,"value":449}," calls.",{"type":13,"tag":451,"props":452,"children":454},"validity-group",{"name":453},"Valid Usage (Implicit)",[455],{"type":13,"tag":456,"props":457,"children":459},"validity-field",{"name":458},"VUID-VkLatencySleepModeInfoNV-sType-sType",[460],{"type":13,"tag":14,"props":461,"children":462},{},[463,468,470,475,477],{"type":13,"tag":21,"props":464,"children":466},{"className":465},[],[467],{"type":18,"value":323},{"type":18,"value":469}," ",{"type":13,"tag":471,"props":472,"children":474},"normative",{"type":473},"must",[],{"type":18,"value":476}," be ",{"type":13,"tag":21,"props":478,"children":480},{"className":479},[],[481],{"type":18,"value":482},"VK_STRUCTURE_TYPE_LATENCY_SLEEP_MODE_INFO_NV",{"type":13,"tag":484,"props":485,"children":486},"style",{},[487],{"type":18,"value":488},"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":490},[],"markdown",1729612455799]