[{"data":1,"prerenderedAt":557},["ShallowReactive",2],{"$fjjIMB_vU20DU_nasmYA-_VxEKrP--P-M4ZqXD_7HhMk":3},{"title":4,"description":5,"parent":6,"structextends":7,"type":9,"xrefs":10,"body":11,"_type":556,"_id":4},"VkPresentTimingSurfaceCapabilitiesEXT","Structure describing present timing capabilities of a surface","VK_EXT_present_timing",[8],"VkSurfaceCapabilities2KHR","structs",[],{"type":12,"children":13,"toc":554},"root",[14,30,369,515,548],{"type":15,"tag":16,"props":17,"children":18},"element","p",{},[19,22,28],{"type":20,"value":21},"text","The ",{"type":15,"tag":23,"props":24,"children":26},"code",{"className":25},[],[27],{"type":20,"value":4},{"type":20,"value":29}," structure is defined as:",{"type":15,"tag":31,"props":32,"children":33},"code-group",{},[34,137],{"type":15,"tag":35,"props":36,"children":42},"pre",{"className":37,"code":38,"filename":39,"language":40,"meta":41,"style":41},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkPresentTimingSurfaceCapabilitiesEXT {\n VkStructureType sType;\n void* pNext;\n VkBool32 presentTimingSupported;\n VkBool32 presentAtAbsoluteTimeSupported;\n VkBool32 presentAtRelativeTimeSupported;\n VkPresentStageFlagsEXT presentStageQueries;\n} VkPresentTimingSurfaceCapabilitiesEXT;\n","C","c","",[43],{"type":15,"tag":23,"props":44,"children":45},{"__ignoreMap":41},[46,69,78,92,101,110,119,128],{"type":15,"tag":47,"props":48,"children":51},"span",{"class":49,"line":50},"line",1,[52,58,63],{"type":15,"tag":47,"props":53,"children":55},{"style":54},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[56],{"type":20,"value":57},"typedef",{"type":15,"tag":47,"props":59,"children":60},{"style":54},[61],{"type":20,"value":62}," struct",{"type":15,"tag":47,"props":64,"children":66},{"style":65},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[67],{"type":20,"value":68}," VkPresentTimingSurfaceCapabilitiesEXT {\n",{"type":15,"tag":47,"props":70,"children":72},{"class":49,"line":71},2,[73],{"type":15,"tag":47,"props":74,"children":75},{"style":65},[76],{"type":20,"value":77}," VkStructureType sType;\n",{"type":15,"tag":47,"props":79,"children":81},{"class":49,"line":80},3,[82,87],{"type":15,"tag":47,"props":83,"children":84},{"style":54},[85],{"type":20,"value":86}," void*",{"type":15,"tag":47,"props":88,"children":89},{"style":65},[90],{"type":20,"value":91}," pNext;\n",{"type":15,"tag":47,"props":93,"children":95},{"class":49,"line":94},4,[96],{"type":15,"tag":47,"props":97,"children":98},{"style":65},[99],{"type":20,"value":100}," VkBool32 presentTimingSupported;\n",{"type":15,"tag":47,"props":102,"children":104},{"class":49,"line":103},5,[105],{"type":15,"tag":47,"props":106,"children":107},{"style":65},[108],{"type":20,"value":109}," VkBool32 presentAtAbsoluteTimeSupported;\n",{"type":15,"tag":47,"props":111,"children":113},{"class":49,"line":112},6,[114],{"type":15,"tag":47,"props":115,"children":116},{"style":65},[117],{"type":20,"value":118}," VkBool32 presentAtRelativeTimeSupported;\n",{"type":15,"tag":47,"props":120,"children":122},{"class":49,"line":121},7,[123],{"type":15,"tag":47,"props":124,"children":125},{"style":65},[126],{"type":20,"value":127}," VkPresentStageFlagsEXT presentStageQueries;\n",{"type":15,"tag":47,"props":129,"children":131},{"class":49,"line":130},8,[132],{"type":15,"tag":47,"props":133,"children":134},{"style":65},[135],{"type":20,"value":136},"} VkPresentTimingSurfaceCapabilitiesEXT;\n",{"type":15,"tag":35,"props":138,"children":143},{"className":139,"code":140,"filename":141,"language":142,"meta":41,"style":41},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PresentTimingSurfaceCapabilitiesEXT {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n present_timing_supported: vk::Bool32, // presentation timings of the surface can be queried using vkGetPastPresentationTimingEXT\n present_at_absolute_time_supported: vk::Bool32, // surface can be presented using absolute times\n present_at_relative_time_supported: vk::Bool32, // surface can be presented using relative times\n present_stage_queries: vk::PresentStageFlagsEXT, // present stages that can be queried\n}\n","Rust","rs",[144],{"type":15,"tag":23,"props":145,"children":146},{"__ignoreMap":41},[147,170,203,225,261,294,327,361],{"type":15,"tag":47,"props":148,"children":149},{"class":49,"line":50},[150,155,159,165],{"type":15,"tag":47,"props":151,"children":152},{"style":54},[153],{"type":20,"value":154},"pub",{"type":15,"tag":47,"props":156,"children":157},{"style":54},[158],{"type":20,"value":62},{"type":15,"tag":47,"props":160,"children":162},{"style":161},"--shiki-default:#953800;--shiki-dark:#FFA657",[163],{"type":20,"value":164}," PresentTimingSurfaceCapabilitiesEXT",{"type":15,"tag":47,"props":166,"children":167},{"style":65},[168],{"type":20,"value":169}," {\n",{"type":15,"tag":47,"props":171,"children":172},{"class":49,"line":71},[173,178,183,188,193,198],{"type":15,"tag":47,"props":174,"children":175},{"style":65},[176],{"type":20,"value":177}," s_type",{"type":15,"tag":47,"props":179,"children":180},{"style":54},[181],{"type":20,"value":182},":",{"type":15,"tag":47,"props":184,"children":185},{"style":161},[186],{"type":20,"value":187}," vk",{"type":15,"tag":47,"props":189,"children":190},{"style":54},[191],{"type":20,"value":192},"::",{"type":15,"tag":47,"props":194,"children":195},{"style":161},[196],{"type":20,"value":197},"StructureType",{"type":15,"tag":47,"props":199,"children":200},{"style":65},[201],{"type":20,"value":202},",\n",{"type":15,"tag":47,"props":204,"children":205},{"class":49,"line":80},[206,211,215,220],{"type":15,"tag":47,"props":207,"children":208},{"style":65},[209],{"type":20,"value":210}," p_next",{"type":15,"tag":47,"props":212,"children":213},{"style":54},[214],{"type":20,"value":182},{"type":15,"tag":47,"props":216,"children":217},{"style":54},[218],{"type":20,"value":219}," *mut",{"type":15,"tag":47,"props":221,"children":222},{"style":65},[223],{"type":20,"value":224}," c_void,\n",{"type":15,"tag":47,"props":226,"children":227},{"class":49,"line":94},[228,233,237,241,245,250,255],{"type":15,"tag":47,"props":229,"children":230},{"style":65},[231],{"type":20,"value":232}," present_timing_supported",{"type":15,"tag":47,"props":234,"children":235},{"style":54},[236],{"type":20,"value":182},{"type":15,"tag":47,"props":238,"children":239},{"style":161},[240],{"type":20,"value":187},{"type":15,"tag":47,"props":242,"children":243},{"style":54},[244],{"type":20,"value":192},{"type":15,"tag":47,"props":246,"children":247},{"style":161},[248],{"type":20,"value":249},"Bool32",{"type":15,"tag":47,"props":251,"children":252},{"style":65},[253],{"type":20,"value":254},", ",{"type":15,"tag":47,"props":256,"children":258},{"style":257},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[259],{"type":20,"value":260},"// presentation timings of the surface can be queried using vkGetPastPresentationTimingEXT\n",{"type":15,"tag":47,"props":262,"children":263},{"class":49,"line":103},[264,269,273,277,281,285,289],{"type":15,"tag":47,"props":265,"children":266},{"style":65},[267],{"type":20,"value":268}," present_at_absolute_time_supported",{"type":15,"tag":47,"props":270,"children":271},{"style":54},[272],{"type":20,"value":182},{"type":15,"tag":47,"props":274,"children":275},{"style":161},[276],{"type":20,"value":187},{"type":15,"tag":47,"props":278,"children":279},{"style":54},[280],{"type":20,"value":192},{"type":15,"tag":47,"props":282,"children":283},{"style":161},[284],{"type":20,"value":249},{"type":15,"tag":47,"props":286,"children":287},{"style":65},[288],{"type":20,"value":254},{"type":15,"tag":47,"props":290,"children":291},{"style":257},[292],{"type":20,"value":293},"// surface can be presented using absolute times\n",{"type":15,"tag":47,"props":295,"children":296},{"class":49,"line":112},[297,302,306,310,314,318,322],{"type":15,"tag":47,"props":298,"children":299},{"style":65},[300],{"type":20,"value":301}," present_at_relative_time_supported",{"type":15,"tag":47,"props":303,"children":304},{"style":54},[305],{"type":20,"value":182},{"type":15,"tag":47,"props":307,"children":308},{"style":161},[309],{"type":20,"value":187},{"type":15,"tag":47,"props":311,"children":312},{"style":54},[313],{"type":20,"value":192},{"type":15,"tag":47,"props":315,"children":316},{"style":161},[317],{"type":20,"value":249},{"type":15,"tag":47,"props":319,"children":320},{"style":65},[321],{"type":20,"value":254},{"type":15,"tag":47,"props":323,"children":324},{"style":257},[325],{"type":20,"value":326},"// surface can be presented using relative times\n",{"type":15,"tag":47,"props":328,"children":329},{"class":49,"line":121},[330,335,339,343,347,352,356],{"type":15,"tag":47,"props":331,"children":332},{"style":65},[333],{"type":20,"value":334}," present_stage_queries",{"type":15,"tag":47,"props":336,"children":337},{"style":54},[338],{"type":20,"value":182},{"type":15,"tag":47,"props":340,"children":341},{"style":161},[342],{"type":20,"value":187},{"type":15,"tag":47,"props":344,"children":345},{"style":54},[346],{"type":20,"value":192},{"type":15,"tag":47,"props":348,"children":349},{"style":161},[350],{"type":20,"value":351},"PresentStageFlagsEXT",{"type":15,"tag":47,"props":353,"children":354},{"style":65},[355],{"type":20,"value":254},{"type":15,"tag":47,"props":357,"children":358},{"style":257},[359],{"type":20,"value":360},"// present stages that can be queried\n",{"type":15,"tag":47,"props":362,"children":363},{"class":49,"line":130},[364],{"type":15,"tag":47,"props":365,"children":366},{"style":65},[367],{"type":20,"value":368},"}\n",{"type":15,"tag":370,"props":371,"children":372},"ul",{},[373,394,413,439,462,484],{"type":15,"tag":374,"props":375,"children":376},"li",{},[377,383,385,392],{"type":15,"tag":23,"props":378,"children":380},{"className":379},[],[381],{"type":20,"value":382},"sType",{"type":20,"value":384}," is a ",{"type":15,"tag":386,"props":387,"children":389},"a",{"href":388},"/man/VkStructureType",[390],{"type":20,"value":391},"VkStructureType",{"type":20,"value":393}," value identifying this structure.",{"type":15,"tag":374,"props":395,"children":396},{},[397,403,405,411],{"type":15,"tag":23,"props":398,"children":400},{"className":399},[],[401],{"type":20,"value":402},"pNext",{"type":20,"value":404}," is ",{"type":15,"tag":23,"props":406,"children":408},{"className":407},[],[409],{"type":20,"value":410},"NULL",{"type":20,"value":412}," or a pointer to a structure extending this\nstructure.",{"type":15,"tag":374,"props":414,"children":415},{},[416,422,424,430,431,437],{"type":15,"tag":23,"props":417,"children":419},{"className":418},[],[420],{"type":20,"value":421},"presentTimingSupported",{"type":20,"value":423}," indicates whether querying presentation\ntimestamps is supported for a swapchain created from\n",{"type":15,"tag":386,"props":425,"children":427},{"href":426},"/man/VkPhysicalDeviceSurfaceInfo2KHR",[428],{"type":20,"value":429},"VkPhysicalDeviceSurfaceInfo2KHR",{"type":20,"value":192},{"type":15,"tag":23,"props":432,"children":434},{"className":433},[],[435],{"type":20,"value":436},"surface",{"type":20,"value":438},".",{"type":15,"tag":374,"props":440,"children":441},{},[442,448,450,454,455,460],{"type":15,"tag":23,"props":443,"children":445},{"className":444},[],[446],{"type":20,"value":447},"presentAtAbsoluteTimeSupported",{"type":20,"value":449}," indicates whether a swapchain\ncreated from ",{"type":15,"tag":386,"props":451,"children":452},{"href":426},[453],{"type":20,"value":429},{"type":20,"value":192},{"type":15,"tag":23,"props":456,"children":458},{"className":457},[],[459],{"type":20,"value":436},{"type":20,"value":461},"\nsupports presenting images with absolute times.",{"type":15,"tag":374,"props":463,"children":464},{},[465,471,472,476,477,482],{"type":15,"tag":23,"props":466,"children":468},{"className":467},[],[469],{"type":20,"value":470},"presentAtRelativeTimeSupported",{"type":20,"value":449},{"type":15,"tag":386,"props":473,"children":474},{"href":426},[475],{"type":20,"value":429},{"type":20,"value":192},{"type":15,"tag":23,"props":478,"children":480},{"className":479},[],[481],{"type":20,"value":436},{"type":20,"value":483},"\nsupports presenting images with relative times.",{"type":15,"tag":374,"props":485,"children":486},{},[487,493,495,501,503,507,508,513],{"type":15,"tag":23,"props":488,"children":490},{"className":489},[],[491],{"type":20,"value":492},"presentStageQueries",{"type":20,"value":494}," is a bitmask of\n",{"type":15,"tag":386,"props":496,"children":498},{"href":497},"/man/VkPresentStageFlagBitsEXT",[499],{"type":20,"value":500},"VkPresentStageFlagBitsEXT",{"type":20,"value":502}," indicating which present stages a\nswapchain created from\n",{"type":15,"tag":386,"props":504,"children":505},{"href":426},[506],{"type":20,"value":429},{"type":20,"value":192},{"type":15,"tag":23,"props":509,"children":511},{"className":510},[],[512],{"type":20,"value":436},{"type":20,"value":514}," is able to provide\ntiming information for.",{"type":15,"tag":516,"props":517,"children":519},"validity-group",{"name":518},"Valid Usage (Implicit)",[520],{"type":15,"tag":521,"props":522,"children":524},"validity-field",{"name":523},"VUID-VkPresentTimingSurfaceCapabilitiesEXT-sType-sType",[525],{"type":15,"tag":16,"props":526,"children":527},{},[528,533,535,540,542],{"type":15,"tag":23,"props":529,"children":531},{"className":530},[],[532],{"type":20,"value":382},{"type":20,"value":534}," ",{"type":15,"tag":536,"props":537,"children":539},"normative",{"type":538},"must",[],{"type":20,"value":541}," be ",{"type":15,"tag":23,"props":543,"children":545},{"className":544},[],[546],{"type":20,"value":547},"VK_STRUCTURE_TYPE_PRESENT_TIMING_SURFACE_CAPABILITIES_EXT",{"type":15,"tag":549,"props":550,"children":551},"style",{},[552],{"type":20,"value":553},"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":41,"searchDepth":71,"depth":71,"links":555},[],"markdown",1773121608426]