[{"data":1,"prerenderedAt":457},["ShallowReactive",2],{"bm688eym0Q":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":456,"_id":4},"VkPerformanceCounterScopeKHR","Supported counter scope types","VK_KHR_performance_query","enums",[],{"type":10,"children":11,"toc":454},"root",[12,20,50,404,448],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","Performance counters have an associated scope.\nThis scope describes the granularity of a performance counter.",{"type":13,"tag":14,"props":21,"children":22},{},[23,25,30,32,39,41,48],{"type":18,"value":24},"The performance counter scope types which ",{"type":13,"tag":26,"props":27,"children":29},"normative",{"type":28},"may",[],{"type":18,"value":31}," be returned in\n",{"type":13,"tag":33,"props":34,"children":36},"a",{"href":35},"/man/VkPerformanceCounterKHR",[37],{"type":18,"value":38},"VkPerformanceCounterKHR",{"type":18,"value":40},"::",{"type":13,"tag":42,"props":43,"children":45},"code",{"className":44},[],[46],{"type":18,"value":47},"scope",{"type":18,"value":49}," are:",{"type":13,"tag":51,"props":52,"children":53},"code-group",{},[54,221],{"type":13,"tag":55,"props":56,"children":62},"pre",{"className":57,"code":58,"filename":59,"language":60,"meta":61,"style":61},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkPerformanceCounterScopeKHR {\n VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_BUFFER_KHR = 0,\n VK_PERFORMANCE_COUNTER_SCOPE_RENDER_PASS_KHR = 1,\n VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_KHR = 2,\n VK_QUERY_SCOPE_COMMAND_BUFFER_KHR = VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_BUFFER_KHR,\n VK_QUERY_SCOPE_RENDER_PASS_KHR = VK_PERFORMANCE_COUNTER_SCOPE_RENDER_PASS_KHR,\n VK_QUERY_SCOPE_COMMAND_KHR = VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_KHR,\n} VkPerformanceCounterScopeKHR;\n","C","c","",[63],{"type":13,"tag":42,"props":64,"children":65},{"__ignoreMap":61},[66,89,114,136,158,176,194,212],{"type":13,"tag":67,"props":68,"children":71},"span",{"class":69,"line":70},"line",1,[72,78,83],{"type":13,"tag":67,"props":73,"children":75},{"style":74},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[76],{"type":18,"value":77},"typedef",{"type":13,"tag":67,"props":79,"children":80},{"style":74},[81],{"type":18,"value":82}," enum",{"type":13,"tag":67,"props":84,"children":86},{"style":85},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[87],{"type":18,"value":88}," VkPerformanceCounterScopeKHR {\n",{"type":13,"tag":67,"props":90,"children":92},{"class":69,"line":91},2,[93,98,103,109],{"type":13,"tag":67,"props":94,"children":95},{"style":85},[96],{"type":18,"value":97}," VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_BUFFER_KHR ",{"type":13,"tag":67,"props":99,"children":100},{"style":74},[101],{"type":18,"value":102},"=",{"type":13,"tag":67,"props":104,"children":106},{"style":105},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[107],{"type":18,"value":108}," 0",{"type":13,"tag":67,"props":110,"children":111},{"style":85},[112],{"type":18,"value":113},",\n",{"type":13,"tag":67,"props":115,"children":117},{"class":69,"line":116},3,[118,123,127,132],{"type":13,"tag":67,"props":119,"children":120},{"style":85},[121],{"type":18,"value":122}," VK_PERFORMANCE_COUNTER_SCOPE_RENDER_PASS_KHR ",{"type":13,"tag":67,"props":124,"children":125},{"style":74},[126],{"type":18,"value":102},{"type":13,"tag":67,"props":128,"children":129},{"style":105},[130],{"type":18,"value":131}," 1",{"type":13,"tag":67,"props":133,"children":134},{"style":85},[135],{"type":18,"value":113},{"type":13,"tag":67,"props":137,"children":139},{"class":69,"line":138},4,[140,145,149,154],{"type":13,"tag":67,"props":141,"children":142},{"style":85},[143],{"type":18,"value":144}," VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_KHR ",{"type":13,"tag":67,"props":146,"children":147},{"style":74},[148],{"type":18,"value":102},{"type":13,"tag":67,"props":150,"children":151},{"style":105},[152],{"type":18,"value":153}," 2",{"type":13,"tag":67,"props":155,"children":156},{"style":85},[157],{"type":18,"value":113},{"type":13,"tag":67,"props":159,"children":161},{"class":69,"line":160},5,[162,167,171],{"type":13,"tag":67,"props":163,"children":164},{"style":85},[165],{"type":18,"value":166}," VK_QUERY_SCOPE_COMMAND_BUFFER_KHR ",{"type":13,"tag":67,"props":168,"children":169},{"style":74},[170],{"type":18,"value":102},{"type":13,"tag":67,"props":172,"children":173},{"style":85},[174],{"type":18,"value":175}," VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_BUFFER_KHR,\n",{"type":13,"tag":67,"props":177,"children":179},{"class":69,"line":178},6,[180,185,189],{"type":13,"tag":67,"props":181,"children":182},{"style":85},[183],{"type":18,"value":184}," VK_QUERY_SCOPE_RENDER_PASS_KHR ",{"type":13,"tag":67,"props":186,"children":187},{"style":74},[188],{"type":18,"value":102},{"type":13,"tag":67,"props":190,"children":191},{"style":85},[192],{"type":18,"value":193}," VK_PERFORMANCE_COUNTER_SCOPE_RENDER_PASS_KHR,\n",{"type":13,"tag":67,"props":195,"children":197},{"class":69,"line":196},7,[198,203,207],{"type":13,"tag":67,"props":199,"children":200},{"style":85},[201],{"type":18,"value":202}," VK_QUERY_SCOPE_COMMAND_KHR ",{"type":13,"tag":67,"props":204,"children":205},{"style":74},[206],{"type":18,"value":102},{"type":13,"tag":67,"props":208,"children":209},{"style":85},[210],{"type":18,"value":211}," VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_KHR,\n",{"type":13,"tag":67,"props":213,"children":215},{"class":69,"line":214},8,[216],{"type":13,"tag":67,"props":217,"children":218},{"style":85},[219],{"type":18,"value":220},"} VkPerformanceCounterScopeKHR;\n",{"type":13,"tag":55,"props":222,"children":227},{"className":223,"code":224,"filename":225,"language":226,"meta":61,"style":61},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PerformanceCounterScopeKHR(u32);\nimpl PerformanceCounterScopeKHR {\n pub const COMMAND_BUFFER: Self = 0;\n pub const RENDER_PASS: Self = 1;\n pub const COMMAND: Self = 2;\n}\n","Rust","rs",[228],{"type":13,"tag":42,"props":229,"children":230},{"__ignoreMap":61},[231,265,282,324,360,396],{"type":13,"tag":67,"props":232,"children":233},{"class":69,"line":70},[234,239,244,250,255,260],{"type":13,"tag":67,"props":235,"children":236},{"style":74},[237],{"type":18,"value":238},"pub",{"type":13,"tag":67,"props":240,"children":241},{"style":74},[242],{"type":18,"value":243}," struct",{"type":13,"tag":67,"props":245,"children":247},{"style":246},"--shiki-default:#953800;--shiki-dark:#FFA657",[248],{"type":18,"value":249}," PerformanceCounterScopeKHR",{"type":13,"tag":67,"props":251,"children":252},{"style":85},[253],{"type":18,"value":254},"(",{"type":13,"tag":67,"props":256,"children":257},{"style":246},[258],{"type":18,"value":259},"u32",{"type":13,"tag":67,"props":261,"children":262},{"style":85},[263],{"type":18,"value":264},");\n",{"type":13,"tag":67,"props":266,"children":267},{"class":69,"line":91},[268,273,277],{"type":13,"tag":67,"props":269,"children":270},{"style":74},[271],{"type":18,"value":272},"impl",{"type":13,"tag":67,"props":274,"children":275},{"style":246},[276],{"type":18,"value":249},{"type":13,"tag":67,"props":278,"children":279},{"style":85},[280],{"type":18,"value":281}," {\n",{"type":13,"tag":67,"props":283,"children":284},{"class":69,"line":116},[285,290,295,300,305,310,315,319],{"type":13,"tag":67,"props":286,"children":287},{"style":74},[288],{"type":18,"value":289}," pub",{"type":13,"tag":67,"props":291,"children":292},{"style":74},[293],{"type":18,"value":294}," const",{"type":13,"tag":67,"props":296,"children":297},{"style":105},[298],{"type":18,"value":299}," COMMAND_BUFFER",{"type":13,"tag":67,"props":301,"children":302},{"style":74},[303],{"type":18,"value":304},":",{"type":13,"tag":67,"props":306,"children":307},{"style":105},[308],{"type":18,"value":309}," Self",{"type":13,"tag":67,"props":311,"children":312},{"style":74},[313],{"type":18,"value":314}," =",{"type":13,"tag":67,"props":316,"children":317},{"style":105},[318],{"type":18,"value":108},{"type":13,"tag":67,"props":320,"children":321},{"style":85},[322],{"type":18,"value":323},";\n",{"type":13,"tag":67,"props":325,"children":326},{"class":69,"line":138},[327,331,335,340,344,348,352,356],{"type":13,"tag":67,"props":328,"children":329},{"style":74},[330],{"type":18,"value":289},{"type":13,"tag":67,"props":332,"children":333},{"style":74},[334],{"type":18,"value":294},{"type":13,"tag":67,"props":336,"children":337},{"style":105},[338],{"type":18,"value":339}," RENDER_PASS",{"type":13,"tag":67,"props":341,"children":342},{"style":74},[343],{"type":18,"value":304},{"type":13,"tag":67,"props":345,"children":346},{"style":105},[347],{"type":18,"value":309},{"type":13,"tag":67,"props":349,"children":350},{"style":74},[351],{"type":18,"value":314},{"type":13,"tag":67,"props":353,"children":354},{"style":105},[355],{"type":18,"value":131},{"type":13,"tag":67,"props":357,"children":358},{"style":85},[359],{"type":18,"value":323},{"type":13,"tag":67,"props":361,"children":362},{"class":69,"line":160},[363,367,371,376,380,384,388,392],{"type":13,"tag":67,"props":364,"children":365},{"style":74},[366],{"type":18,"value":289},{"type":13,"tag":67,"props":368,"children":369},{"style":74},[370],{"type":18,"value":294},{"type":13,"tag":67,"props":372,"children":373},{"style":105},[374],{"type":18,"value":375}," COMMAND",{"type":13,"tag":67,"props":377,"children":378},{"style":74},[379],{"type":18,"value":304},{"type":13,"tag":67,"props":381,"children":382},{"style":105},[383],{"type":18,"value":309},{"type":13,"tag":67,"props":385,"children":386},{"style":74},[387],{"type":18,"value":314},{"type":13,"tag":67,"props":389,"children":390},{"style":105},[391],{"type":18,"value":153},{"type":13,"tag":67,"props":393,"children":394},{"style":85},[395],{"type":18,"value":323},{"type":13,"tag":67,"props":397,"children":398},{"class":69,"line":178},[399],{"type":13,"tag":67,"props":400,"children":401},{"style":85},[402],{"type":18,"value":403},"}\n",{"type":13,"tag":405,"props":406,"children":407},"ul",{},[408,420,437],{"type":13,"tag":409,"props":410,"children":411},"li",{},[412,418],{"type":13,"tag":42,"props":413,"children":415},{"className":414},[],[416],{"type":18,"value":417},"VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_BUFFER_KHR",{"type":18,"value":419}," - the performance\ncounter scope is a single complete command buffer.",{"type":13,"tag":409,"props":421,"children":422},{},[423,429,431,435],{"type":13,"tag":42,"props":424,"children":426},{"className":425},[],[427],{"type":18,"value":428},"VK_PERFORMANCE_COUNTER_SCOPE_RENDER_PASS_KHR",{"type":18,"value":430}," - the performance\ncounter scope is zero or more complete render passes.\nThe performance query containing the performance counter ",{"type":13,"tag":26,"props":432,"children":434},{"type":433},"must",[],{"type":18,"value":436}," begin and\nend outside a render pass instance.",{"type":13,"tag":409,"props":438,"children":439},{},[440,446],{"type":13,"tag":42,"props":441,"children":443},{"className":442},[],[444],{"type":18,"value":445},"VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_KHR",{"type":18,"value":447}," - the performance counter\nscope is zero or more commands.",{"type":13,"tag":449,"props":450,"children":451},"style",{},[452],{"type":18,"value":453},"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":61,"searchDepth":91,"depth":91,"links":455},[],"markdown",1725732564930]