[{"data":1,"prerenderedAt":467},["ShallowReactive",2],{"98dZFFtoAE":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":466,"_id":4},"VkAcquireProfilingLockInfoKHR","Structure specifying parameters to acquire the profiling lock","VK_KHR_performance_query","structs",[],{"type":10,"children":11,"toc":464},"root",[12,28,280,346,424,458],{"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,127],{"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 VkAcquireProfilingLockInfoKHR {\n VkStructureType sType;\n const void* pNext;\n VkAcquireProfilingLockFlagsKHR flags;\n uint64_t timeout;\n} VkAcquireProfilingLockInfoKHR;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,104,118],{"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}," VkAcquireProfilingLockInfoKHR {\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}," VkAcquireProfilingLockFlagsKHR flags;\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}," uint64_t",{"type":13,"tag":45,"props":114,"children":115},{"style":63},[116],{"type":18,"value":117}," timeout;\n",{"type":13,"tag":45,"props":119,"children":121},{"class":47,"line":120},6,[122],{"type":13,"tag":45,"props":123,"children":124},{"style":63},[125],{"type":18,"value":126},"} VkAcquireProfilingLockInfoKHR;\n",{"type":13,"tag":33,"props":128,"children":133},{"className":129,"code":130,"filename":131,"language":132,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct AcquireProfilingLockInfoKHR {\n s_type: vk::StructureType,\n p_next: *const c_void,\n flags: vk::AcquireProfilingLockFlagsKHR, // Acquire profiling lock flags\n timeout: u64,\n}\n","Rust","rs",[134],{"type":13,"tag":21,"props":135,"children":136},{"__ignoreMap":39},[137,160,193,215,251,272],{"type":13,"tag":45,"props":138,"children":139},{"class":47,"line":48},[140,145,149,155],{"type":13,"tag":45,"props":141,"children":142},{"style":52},[143],{"type":18,"value":144},"pub",{"type":13,"tag":45,"props":146,"children":147},{"style":52},[148],{"type":18,"value":60},{"type":13,"tag":45,"props":150,"children":152},{"style":151},"--shiki-default:#953800;--shiki-dark:#FFA657",[153],{"type":18,"value":154}," AcquireProfilingLockInfoKHR",{"type":13,"tag":45,"props":156,"children":157},{"style":63},[158],{"type":18,"value":159}," {\n",{"type":13,"tag":45,"props":161,"children":162},{"class":47,"line":69},[163,168,173,178,183,188],{"type":13,"tag":45,"props":164,"children":165},{"style":63},[166],{"type":18,"value":167}," s_type",{"type":13,"tag":45,"props":169,"children":170},{"style":52},[171],{"type":18,"value":172},":",{"type":13,"tag":45,"props":174,"children":175},{"style":151},[176],{"type":18,"value":177}," vk",{"type":13,"tag":45,"props":179,"children":180},{"style":52},[181],{"type":18,"value":182},"::",{"type":13,"tag":45,"props":184,"children":185},{"style":151},[186],{"type":18,"value":187},"StructureType",{"type":13,"tag":45,"props":189,"children":190},{"style":63},[191],{"type":18,"value":192},",\n",{"type":13,"tag":45,"props":194,"children":195},{"class":47,"line":78},[196,201,205,210],{"type":13,"tag":45,"props":197,"children":198},{"style":63},[199],{"type":18,"value":200}," p_next",{"type":13,"tag":45,"props":202,"children":203},{"style":52},[204],{"type":18,"value":172},{"type":13,"tag":45,"props":206,"children":207},{"style":52},[208],{"type":18,"value":209}," *const",{"type":13,"tag":45,"props":211,"children":212},{"style":63},[213],{"type":18,"value":214}," c_void,\n",{"type":13,"tag":45,"props":216,"children":217},{"class":47,"line":97},[218,223,227,231,235,240,245],{"type":13,"tag":45,"props":219,"children":220},{"style":63},[221],{"type":18,"value":222}," flags",{"type":13,"tag":45,"props":224,"children":225},{"style":52},[226],{"type":18,"value":172},{"type":13,"tag":45,"props":228,"children":229},{"style":151},[230],{"type":18,"value":177},{"type":13,"tag":45,"props":232,"children":233},{"style":52},[234],{"type":18,"value":182},{"type":13,"tag":45,"props":236,"children":237},{"style":151},[238],{"type":18,"value":239},"AcquireProfilingLockFlagsKHR",{"type":13,"tag":45,"props":241,"children":242},{"style":63},[243],{"type":18,"value":244},", ",{"type":13,"tag":45,"props":246,"children":248},{"style":247},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[249],{"type":18,"value":250},"// Acquire profiling lock flags\n",{"type":13,"tag":45,"props":252,"children":253},{"class":47,"line":106},[254,259,263,268],{"type":13,"tag":45,"props":255,"children":256},{"style":63},[257],{"type":18,"value":258}," timeout",{"type":13,"tag":45,"props":260,"children":261},{"style":52},[262],{"type":18,"value":172},{"type":13,"tag":45,"props":264,"children":265},{"style":151},[266],{"type":18,"value":267}," u64",{"type":13,"tag":45,"props":269,"children":270},{"style":63},[271],{"type":18,"value":192},{"type":13,"tag":45,"props":273,"children":274},{"class":47,"line":120},[275],{"type":13,"tag":45,"props":276,"children":277},{"style":63},[278],{"type":18,"value":279},"}\n",{"type":13,"tag":281,"props":282,"children":283},"ul",{},[284,305,324,335],{"type":13,"tag":285,"props":286,"children":287},"li",{},[288,294,296,303],{"type":13,"tag":21,"props":289,"children":291},{"className":290},[],[292],{"type":18,"value":293},"sType",{"type":18,"value":295}," is a ",{"type":13,"tag":297,"props":298,"children":300},"a",{"href":299},"/man/VkStructureType",[301],{"type":18,"value":302},"VkStructureType",{"type":18,"value":304}," value identifying this structure.",{"type":13,"tag":285,"props":306,"children":307},{},[308,314,316,322],{"type":13,"tag":21,"props":309,"children":311},{"className":310},[],[312],{"type":18,"value":313},"pNext",{"type":18,"value":315}," is ",{"type":13,"tag":21,"props":317,"children":319},{"className":318},[],[320],{"type":18,"value":321},"NULL",{"type":18,"value":323}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":285,"props":325,"children":326},{},[327,333],{"type":13,"tag":21,"props":328,"children":330},{"className":329},[],[331],{"type":18,"value":332},"flags",{"type":18,"value":334}," is reserved for future use.",{"type":13,"tag":285,"props":336,"children":337},{},[338,344],{"type":13,"tag":21,"props":339,"children":341},{"className":340},[],[342],{"type":18,"value":343},"timeout",{"type":18,"value":345}," indicates how long the function waits, in nanoseconds, if\nthe profiling lock is not available.",{"type":13,"tag":347,"props":348,"children":350},"validity-group",{"name":349},"Valid Usage (Implicit)",[351,379,401],{"type":13,"tag":352,"props":353,"children":355},"validity-field",{"name":354},"VUID-VkAcquireProfilingLockInfoKHR-sType-sType",[356],{"type":13,"tag":14,"props":357,"children":358},{},[359,364,366,371,373],{"type":13,"tag":21,"props":360,"children":362},{"className":361},[],[363],{"type":18,"value":293},{"type":18,"value":365}," ",{"type":13,"tag":367,"props":368,"children":370},"normative",{"type":369},"must",[],{"type":18,"value":372}," be ",{"type":13,"tag":21,"props":374,"children":376},{"className":375},[],[377],{"type":18,"value":378},"VK_STRUCTURE_TYPE_ACQUIRE_PROFILING_LOCK_INFO_KHR",{"type":13,"tag":352,"props":380,"children":382},{"name":381},"VUID-VkAcquireProfilingLockInfoKHR-pNext-pNext",[383],{"type":13,"tag":14,"props":384,"children":385},{},[386,391,392,395,396],{"type":13,"tag":21,"props":387,"children":389},{"className":388},[],[390],{"type":18,"value":313},{"type":18,"value":365},{"type":13,"tag":367,"props":393,"children":394},{"type":369},[],{"type":18,"value":372},{"type":13,"tag":21,"props":397,"children":399},{"className":398},[],[400],{"type":18,"value":321},{"type":13,"tag":352,"props":402,"children":404},{"name":403},"VUID-VkAcquireProfilingLockInfoKHR-flags-zerobitmask",[405],{"type":13,"tag":14,"props":406,"children":407},{},[408,413,414,417,418],{"type":13,"tag":21,"props":409,"children":411},{"className":410},[],[412],{"type":18,"value":332},{"type":18,"value":365},{"type":13,"tag":367,"props":415,"children":416},{"type":369},[],{"type":18,"value":372},{"type":13,"tag":21,"props":419,"children":421},{"className":420},[],[422],{"type":18,"value":423},"0",{"type":13,"tag":14,"props":425,"children":426},{},[427,429,434,436,442,444,449,450,456],{"type":18,"value":428},"If ",{"type":13,"tag":21,"props":430,"children":432},{"className":431},[],[433],{"type":18,"value":343},{"type":18,"value":435}," is 0, ",{"type":13,"tag":21,"props":437,"children":439},{"className":438},[],[440],{"type":18,"value":441},"vkAcquireProfilingLockKHR",{"type":18,"value":443}," will not block while\nattempting to acquire the profiling lock.\nIf ",{"type":13,"tag":21,"props":445,"children":447},{"className":446},[],[448],{"type":18,"value":343},{"type":18,"value":315},{"type":13,"tag":21,"props":451,"children":453},{"className":452},[],[454],{"type":18,"value":455},"UINT64_MAX",{"type":18,"value":457},", the function will not return until the\nprofiling lock was acquired.",{"type":13,"tag":459,"props":460,"children":461},"style",{},[462],{"type":18,"value":463},"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":465},[],"markdown",1725732538507]