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